[Bug tree-optimization/17531] [4.0 Regression] [ivopts] ICE compiling gzip deflate.c
matz at suse dot de
gcc-bugzilla@gcc.gnu.org
Tue Sep 28 15:54:00 GMT 2004
------- Additional Comments From matz at suse dot de 2004-09-28 15:54 -------
During bootstrap of GCC on powerpc64-linux the same ICE occurs. For
completeness this is a reduced version of the breaking expr.c:
-------------------------
extern unsigned char rs6000_hard_regno_mode_ok_p[][113];
void
f (int mode, int *out)
{
int regno;
for (regno = 0; regno < 113; regno++)
if (rs6000_hard_regno_mode_ok_p[mode][regno])
*out = regno;
}
-------------------------
Both proposed patches make the ICE go away.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17531
More information about the Gcc-bugs
mailing list