[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/16908] #line directives are ignored inside macros
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/16908] #line directives are ignored inside macros |
Date: |
Fri, 16 Dec 2022 08:01:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16908
--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Jan Beulich <jbeulich@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=22a8433e00fd33efcb1fa4961eb826cd97f2cd8b
commit 22a8433e00fd33efcb1fa4961eb826cd97f2cd8b
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Dec 16 09:01:14 2022 +0100
gas: restore Dwarf info generation after macro diagnostic adjustments
While 6fdb723799e2 ("gas: re-work line number tracking for macros and
their expansions") was meant to leave generated Dwarf as is, it really
didn't (and the testcase intended to catch that wasn't covering the case
which broke). Its adjustment to buffer_and_nest() didn't go far enough,
leading to the "linefile" directive inserted at the top to also be
processed later in the PRĀ gas/16908 workaround (which clearly isn't
intended - it's being put there for processing during macro expansion
only). That unnoticed flaw in turn led me to work around it by a
(suspicious to me already at the time) conditional in as_where().
--
You are receiving this mail because:
You are on the CC list for the bug.