This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/18294] New: ICE in rtl_verify_flow_info during bootstrap
- From: "sje at cup dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2004 23:24:17 -0000
- Subject: [Bug rtl-optimization/18294] New: ICE in rtl_verify_flow_info during bootstrap
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I get an ICE when bootstrapping the latest GCC on ia64-hp-hpux11.20. It dies
when compiling adjust_field_type in gengtype.c. Attached is a small test case
to reproduce the problem. The test case only fails in ILP32 mode (the default),
it cannot be reproduced in LP64 mode (-mlp64) and it cannot be reproduced on
IA64 Linux because that has no ILP32 mode.
Test case:
void
adjust_field_type (int x)
{
void *params[10];
int i;
for (i = 0; i < 10; i++)
params[i] = ((void *)0);
for (i = 0; i < 10; i++)
if (x == 0) {
if (params[i] != ((void *)0))
foo (x);
}
return;
}
--
Summary: ICE in rtl_verify_flow_info during bootstrap
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sje at cup dot hp dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ia64-hp-hpux11.20
GCC host triplet: ia64-hp-hpux11.20
GCC target triplet: ia64-hp-hpux11.20
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18294