At revision 149591, compiling iso_varying_string.f95 gives the following error:
[ibook-dhum] f90/bug% gfc -c iso_varying_string.f95 iso_varying_string.f95:2548.29: end module iso_varying_string 1 Internal Error at (1): resolve_code(): Bad statement code Probably due (or uncovered) by revision 149586. Note that the same error occurs when compiling the codes in pr40440#0 and pr40440#2. -- Summary: [4.5 Regression] ICE when compiling iso_varying_string.f95 at revision 149591 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40743