http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48060
Summary: internal compiler error: in dfs_enumerate_from, at cfganal.c:1209 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: y...@momonga-linux.org gcc 4.6.0 20110305 ICEs with "-O3" when using the following code; typedef struct { unsigned long status; } Table; extern Table* table; extern void func2(Table *p); int func(int a) { while (a) { unsigned long b; Table *p; p = &table[b]; if (!p || (p->status & (b))) { p = 0; } if (p && p->status) { func2(p); } } return 1; }