This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17531] [4.0 Regression] [ivopts] ICE compiling gzip deflate.c
- From: "matz at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2004 15:54:35 -0000
- Subject: [Bug tree-optimization/17531] [4.0 Regression] [ivopts] ICE compiling gzip deflate.c
- References: <20040917025408.17531.dje@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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