From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25773 invoked by alias); 11 Jan 2010 10:45:40 -0000 Received: (qmail 25481 invoked by uid 48); 11 Jan 2010 10:45:16 -0000 Date: Mon, 11 Jan 2010 10:45:00 -0000 Message-ID: <20100111104516.25480.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/42645] "-fcompare-debug failure" at -O1 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zsojka at seznam dot cz" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg01217.txt.bz2 ------- 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