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

Reply via email to