http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47269
Summary: DSYMUTIL_SPEC doesn't handle -gtoggle Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: howa...@nitro.med.uc.edu Currently on darwin, DSYMUTIL_SPEC is unaware of the -gtoggle flag. This results in dsymutil not being called as expected when '-g0 -gtoggle' is passed to the compiler despite any resulting object files containing the expected DWARF debug information. It is unclear how we can code for this in DSYMUTIL_SPEC since -gtoggle needs to invert the final accumulative setting of -g.