This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2004 11:04:30 -0000
- Subject: [Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
typedef struct
{
unsigned long hashval;
int oldcount, newcount;
int oldindex, newindex;
} HASHMAP;
extern HASHMAP *H;
void
_nc_hash_map (void)
{
HASHMAP *sp;
for (sp = H; sp->hashval; sp++)
if (sp->oldcount == 1 && sp->newcount == 1)
sp->newindex = sp->oldindex;
}
$ ./cc1 -O t.c
_nc_hash_map
t.c: In function '_nc_hash_map':
t.c:12: internal compiler error: in var_ann, at tree-flow-inline.h:34
This particular test cases comes from ncurses, but this also
makes building glibc impossible, and probably many other programs.
--
Summary: ICE in var_ann, at tree-flow-inline.h:34
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: critical
Priority: P1
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18250