http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46338
Summary: -fcompare-debug failure (length) with -O -fprofile-generate 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 22303 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22303 preprocessed source Compiler output: $ gcc -O -fprofile-generate -fcompare-debug testcase.C -w gcc: error: testcase.C: -fcompare-debug failure (length) The original source fails with r165699, but the reduced one doesn't... I don't know if this is a regression or not.