------- Comment #3 from zsojka at seznam dot cz 2010-01-11 10:45 ------- Created an attachment (id=19538) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19538&action=view) different reduced testcase
$ /mnt/svn/gcc-trunk/binary-155777-lto/bin/g++ -O1 -fcompare-debug -c testcase-min15-manual.ii g++: testcase-min15-manual.ii: -fcompare-debug failure (length) Testcases like these are often created by delta when reducing with grepping for '-fcompare-debug failure'. The important part in both testcases seems to be "no return statement in function returning non-void" with returned value stored to a variable. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42645