I use gcc version GNU Fortran 95 (GCC 4.0.0 20041019 (experimental)) to compile the enclosed source file with the options /home/eschnett/gcc/bin/gfortran -ftrapv -march=pentium4 -malign-double -g3 -c -o /home/eschnett/Calpha/Cactus/configs/einstein-gcc-debug/build/EHFinder/EHFinder_ReadData.F90.o /home/eschnett/Calpha/Cactus/configs/einstein-gcc-debug/build/EHFinder/EHFinder_ReadData.f90 and I find that gfortran seems to enter an infinite loop. Memory usage is reasonable, but after more than 17 minutes on a Pentium M 1200 MHz gfortran was not yet finished. Note that there is no optimisation, and that the source code is straightforward, except for lengthy argument lists.
-- Summary: Excessively long compile time Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schnetter at aei dot mpg dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18082