[Bug tree-optimization/31632] [4.1 regression] ICE in compare_values
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 19 11:40:00 GMT 2007
------- Comment #1 from jakub at gcc dot gnu dot org 2007-04-19 12:40 -------
struct S
{
long int l;
void *m;
};
int
foo (struct S *x)
{
unsigned long a;
a = x->l;
if (a <= ((void *) 0))
x->m = 0;
return 0;
}
ICEs at -O2 on both x86_64-linux and ppc-linux.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Known to fail| |4.1.3
Known to work| |3.4.6 4.2.0 4.3.0
Summary|[4.1 regression] |[4.1 regression] ICE in
| |compare_values
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31632
More information about the Gcc-bugs
mailing list