[Bug tree-optimization/23509] [4.1 regression] ICE with ivopts
mec at google dot com
gcc-bugzilla@gcc.gnu.org
Sat Sep 3 20:16:00 GMT 2005
------- Additional Comments From mec at google dot com 2005-09-03 20:16 -------
Here is another test with confirmatory data.
Test case, reduced from some firefox code:
int punycode_decode(const char input[], unsigned char case_flags[])
{
int j;
for (j = 0; j < 128; ++j) {
if (case_flags)
case_flags[j] = input[j] - 65 < 26;
if (input[j] < 32)
return -1;
}
return 0;
}
With native i686-pc-linux-gnu, my results are:
gcc 4.0.1, command line "gcc -S -O3 z1.i", no error
gcc 4.1-20050819 snapshot, command line "gcc -S -O3 z1.i", ICE:
z1.i: In function 'punycode_decode':
z1.i:2: internal compiler error: in finalize_ssa_uses, at tree-ssa-operands.c:580
gcc 4.1-20050902 snapshot, command line "gcc -S -O3 z1.i", ICE:
z1.i: In function 'punycode_decode':
z1.i:2: internal compiler error: in finalize_ssa_uses, at tree-ssa-operands.c:580
gcc 4.1-20050902 snapshot, command line "gcc -S -O3 -fno-ivopts z1.i", no error
gcc 4.1-20050902 snapshot + zdenek patch, command line "gcc -S -O3 z1.i", no error
zdenek patch is the version from
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01647.html .
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23509
More information about the Gcc-bugs
mailing list