I get an ICE with gfortran on the following code: $ cat ice.F SUBROUTINE PHLOAD (READER,*) IMPLICIT NONE EXTERNAL READER CALL READER (*1) 1 RETURN 1 END
$ gfortran -S ice.F ice.F: In function 'phload': ice.F:1: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:2401 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. $ gfortran -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc/configure --prefix=/scr/kuma/froehl/gcc-prefix --with-gmp-include=/usr/local/include --with-gmp-lib=/usr/local/lib64 --with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib64 Thread model: posix gcc version 4.3.0 20070404 (experimental) That happens with gfortran from the gcc-4.1.{1,2} as well as with 20070404 svn trunk version. -- Summary: ICE on fortran Code Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: M dot Froehlich at science-computing dot de 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=31483