------- Comment #25 from regehr at cs dot utah dot edu 2009-01-22 05:06 ------- I get this using r143561 on Ubuntu Hardy on x86:
reg...@john-home:~/volatile/tmp126$ current-gcc -O3 -c small.c small.c: In function bar: small.c:22: internal compiler error: in set_value_range, at tree-vrp.c:398 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. reg...@john-home:~/volatile/tmp126$ cat small.c long long int foo (long long int si1, int si2) { return 0 && 9223372036854775807LL - si2 || si1 < 0 && si2 < 0 && si1 < -9223372036854775807LL - 1 - si2 ? : si1; } int g_11; volatile int g_49; int func_10 (void) { for (g_11 = 1; 1;) return 1; } int func_25 (void) { int l_28 = 8L; return l_28; } void bar (int p_9) { int l_146 = 4L; func_10 (); if (foo (p_9, ((signed char) (1 - (unsigned int) func_25 () | g_11) / l_146))) g_49; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38572