The following invalid code snippet causes a segfault in main_block_label in tree-cfg.c:
=========================== void foo() { goto L; if (0..) { L: ; } } =========================== bug.c:4:9: error: too many decimal points in number bug.c: In function 'foo': bug.c:5: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] We ICE since GCC 4.0.0. -- Summary: [4.0/4.1/4.2 regression] ICE with goto in erroneous code Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27428