$ uname -a Linux glasgow.nag.co.uk 2.6.27.24-170.2.68.fc10.x86_64 #1 SMP Wed May 20 22:47:23 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
$ gfortran --version GNU Fortran (GCC) 4.5.0 20090716 (experimental) $ cat search.f90 SUBROUTINE SEARCH(ITEMVAL) CHARACTER (*) :: ITEMVAL CHARACTER (LEN(ITEMVAL)) :: ITEM INTRINSIC LEN END $ gfortran -c search.f90 f951: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. The file compiles happily if the INTRINSIC LEN line is removed. -- Summary: Internal compiler error when Fortran intrinsic LEN referenced before explicit declaration Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mathewc at nag dot co dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40822