http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54205

             Bug #: 54205
           Summary: recursive .debug_macro inclusions
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: tro...@gcc.gnu.org


Created attachment 27963
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27963
readelf output

I built git master gcc today.
Then I ran the libstdc++ pretty-printer tests.
One of these tests (48362.cc) caused gdb to die, so I investigated.
It turns out that gcc is emitting recursive DW_MACRO_GNU_transparent_include
calls in .debug_macro.  I previously thought I fixed this problem in
http://sourceware.org/bugzilla/show_bug.cgi?id=13568
-- but the fix was insufficient; and in any case I think gcc should not do
this.
I'm attaching the readelf dump of the section so you can see the issue.

Reply via email to