This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/41345] bootstrap comparison failure with --disable-checking
- From: "cadaker at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Oct 2009 20:14:31 -0000
- Subject: [Bug bootstrap/41345] bootstrap comparison failure with --disable-checking
- References: <bug-41345-10406@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from cadaker at gmail dot com 2009-10-25 20:14 -------
This is still present in -r153539, along with some more comparison failures
(gcc/tree-vrp.o, gcc/tree-complex.o, gcc/sese.o, gcc/sel-sched.o, gcc/bitmap.o,
gcc/lto/lto-lang.o, gcc/cp/class.o).
Could this be of any help? This is a heavily reduced case of one failure in
bitmap.o. It fails with 'gcc -c -O2 -fcompare-debug' (but not with -O1) for me
on x86_64:
unsigned
bitmap_first_set_bit (unsigned long* bits)
{
unsigned bit_no = 0;
unsigned ix = 0;
for (ix = 0; ix != 1u; ix++)
if (bits[ix])
goto found_bit;
__builtin_unreachable();
found_bit:
return bit_no;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41345