http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47106
Summary: -fcompare-debug failure (length) with -fpartial-inlining -flto -fconserve-stack Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz CC: aol...@gcc.gnu.org Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 22864 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22864 reduced testcase Compiler output: $ gcc -O -fpartial-inlining -flto -fconserve-stack -fcompare-debug pr47106.C gcc: error: pr47106.C: -fcompare-debug failure (length) Different code is generated with and without -g. Tested revisions: r168296 - fail