http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47647
Summary: BLOCKs are empty Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: lto Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: rgue...@gcc.gnu.org r165191 assumes that DECL_CONTEXT of variables is their corresponding BLOCK which isn't the case at least for autos. Thus the BLOCK tree ends up mostly empty for -flto -g.