int fs_exec(int ino) { void *src = 0; if (ino) src = (void*)0xe000; goto *src; }
Reduced from http://gcc.gnu.org/ml/gcc-bugs/2007-02/msg02973.html. -- Summary: ICE with computed goto and constants Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30984