This occurs on a MacPro 10.4 (Tiger) system compiling netcdf with the very latest 20071207 drop of gcc. It occurs compiling netcdf-3.6.2 which is available from:
http://www.unidata.ucar.edu/downloads/netcdf/netcdf-3_6_2/index.jsp Let me know if you need any additional help obtaining the code. The files in question are in the f90 sud-directory. ~/netcdf-3.6.2/f90$ uname -a Darwin XXXX 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386 ~/netcdf-3.6.2/f90$ /usr/local/bin/gfortran -v -save-temps -I../libsrc -I. -O -m64 -c netcdf.f90 -o netcdf.o Using built-in specs. Target: i386-apple-darwin8.11.1 Configured with: ./configure --with-gmp=/sw --with-mpfr=/sw Thread model: posix gcc version 4.3.0 20071207 (experimental) (GCC) COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.4' '-v' '-save-temps' '-I../libsrc' '-I.' '-O' '-m64' '-c' '-o' 'netcdf.o' '-mtune=generic' /usr/local/libexec/gcc/i386-apple-darwin8.11.1/4.3.0/f951 netcdf.f90 -fPIC -quiet -dumpbase netcdf.f90 -mmacosx-version-min=10.4 -m64 -mtune=generic -auxbase-strip netcdf.o -O -version -I../libsrc -I. -fintrinsic-modules-path /usr/local/lib/gcc/i386-apple-darwin8.11.1/4.3.0/finclude -o netcdf.s GNU F95 (GCC) version 4.3.0 20071207 (experimental) (i386-apple-darwin8.11.1) compiled by GNU C version 4.3.0 20071207 (experimental), GMP version 4.2.1, MPFR version 2.2.0. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 f951: internal compiler error: in change_file, at fortran/scanner.c:322 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: f951: internal compiler error: in change_file, at fortran/scanner.c:322 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ntuck at shelltuck dot com GCC host triplet: i386-apple-darwin8.11.1 GCC target triplet: x86_64 or i386 apple-darwin8.11.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34401