[Bug target/18863] New: ICE in find_reloads
simonb at wasabisystems dot com
gcc-bugzilla@gcc.gnu.org
Tue Dec 7 05:38:00 GMT 2004
Trying to compile a simple program results in:
zlib.i: In function 'huft_build':
zlib.i:26: internal compiler error: in find_reloads, at reload.c:3911
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
when compiled with
gcc version 4.0.0 20041206 (experimental)
Here is the test program (reduced from some code in the zlib compression
library):
void huft_build (const int *, int *);
struct inflate_huft_s {
union {
char Exop;
} word;
int base;
};
void huft_build(e, v)
const int *e;
int *v;
{
int k;
struct inflate_huft_s r, *u[15];
k = 0;
u[0] = 0;
for (; k <= 16; k++)
{
u[0][0] = r;
if (*v < 19)
r.word.Exop = (char)(e[*v] + 64);
}
}
--
Summary: ICE in find_reloads
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: simonb at wasabisystems dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-unknown-netbsdelf2.0F
GCC host triplet: i386-unknown-netbsdelf2.0F
GCC target triplet: ns32k--netbsd
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18863
More information about the Gcc-bugs
mailing list