This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/42645] "-fcompare-debug failure" at -O1



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]