http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45882
Summary: No debug info for vars depending on unused parameter Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: ja...@gcc.gnu.org CC: aol...@gcc.gnu.org On the attached testcase, b, c, d and e vars unnecessarily don't have any DW_AT_location information in the debug info.