The following code snippet causes an ICE: =========================== subroutine FOO X :: I equivalence (I,I) end ===========================
In file bug4.f90:2 X :: I 1 Error: Unclassifiable statement at (1) bug.f90:0: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] The ICE appeared on the 4.1 branch after GCC 4.1.0 and also affects mainline. -- Summary: [4.1/4.2 regression] ICE after invalid variable declaration Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: fortran 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=27487