This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/37322] [4.4 Regression] FAIL: gfortran.dg/debug/pr35154-dwarf2.f
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2008 15:02:28 -0000
- Subject: [Bug debug/37322] [4.4 Regression] FAIL: gfortran.dg/debug/pr35154-dwarf2.f
- References: <bug-37322-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jakub at gcc dot gnu dot org 2008-09-02 15:02 -------
Created an attachment (id=16194)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16194&action=view)
Q
I can believe your comment #5, but I can't believe DW_AT_name is not emitted at
all (just tried it with x86_64-linux -> i686-darwin9 cross). Darwin, as it
probably doesn't support mergeable .debug_str, at -gdwarf-2 -O0 -dA outputs
DW_AT_name for __BLNK__ and label as inline strings rather than references to
.debug_str and the regexps were expecting just the latter. This patch should
handle both variants. This fixes this testcase for me in the cross. Can you
test it on native darwin?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37322