% cat bla.c
struct alloc2 {
int bla;
char * __restrict data;
char * __restrict data2;
};
struct alloc2 b;
void * f (void)
{ return b.data;}
% ./cc1 -O2 bla.c
bla.c:12:1: internal compiler error: in insert_vi_for_tree, at
tree-ssa-structalias.c:2586
Problem is that the struct contains two restrict pointers, which confuses
the hash table machinery for varinfos.
--
Summary: ICE in insert_vi_for_tree
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: matz at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40964