This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42645] "-fcompare-debug failure" at -O1
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2010 10:45:16 -0000
- Subject: [Bug tree-optimization/42645] "-fcompare-debug failure" at -O1
- References: <bug-42645-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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