This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38572] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:398
- From: "regehr at cs dot utah dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2009 05:06:26 -0000
- Subject: [Bug middle-end/38572] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:398
- References: <bug-38572-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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:
regehr@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.
regehr@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