This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/42631] New: "-fcompare-debug failure" with "-O1 -funroll-loops"
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jan 2010 00:49:53 -0000
- Subject: [Bug debug/42631] New: "-fcompare-debug failure" with "-O1 -funroll-loops"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Command line:
gcc -O1 -funroll-loops -fcompare-debug -c testcase.c
Tested revisions:
r155643 - crash (x86_64)
r155290 - crash (x86)
r153685 - crash (x86_64)
Output:
$ /mnt/svn/gcc-trunk/binary-153685-lto/bin/gcc -O1 -funroll-loops
-fcompare-debug -c testcase.c
gcc: testcase.c: -fcompare-debug failure
================== testcase.c ==================
void foo()
{
unsigned k; /* doesn't crash with 'int' or when initialized */
while (--k > 0);
}
================================================
--
Summary: "-fcompare-debug failure" with "-O1 -funroll-loops"
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
GCC host triplet: x86(_64)-pc-linux-gnu
GCC target triplet: x86(_64)-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42631