When compiling a small file with standard flags the compiler crashes. This seems to be related to a WHERE construct. The code is accepted without warnings by e.g. Intel fortran compiler and others. The version of gfortran is 4.2.0 20060819
-- Summary: ICE: Segmentation fault on valid code Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: enok at lysator dot liu dot se GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28971