-gstabs+ -feliminate-unused-debug-symbols is need to produce this anywhere else.
I am wondering why these were not added to debug testsuite instead. -- Summary: g++.dg/other/unused1.C and gcc.dg/20060410.c fail on powerpc-darwin Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: wrong-debug Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org GCC target triplet: powerpc-darwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27473