Today's gfortran from trunk ICE's on the attached testcase: [EMAIL PROTECTED]:~/tmp> gfortran -v -c test.F90 Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: /home/martin/software/gcc/configure --quiet --prefix=/home/martin/software/ugcc --enable-languages=c++,fortran --enable-checking=release Thread model: posix gcc version 4.2.0 20051222 (experimental) /home/martin/software/ugcc/libexec/gcc/x86_64-unknown-linux-gnu/4.2.0/cc1 -E -lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN -quiet -v test.F90 -mtune=k8 -o /tmp/ccCu0SZq.f95 ignoring nonexistent directory "/home/martin/software/ugcc/lib/gcc/x86_64-unknown-linux-gnu/4.2.0/../../../../x86_64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /home/martin/software/ugcc/include /home/martin/software/ugcc/lib/gcc/x86_64-unknown-linux-gnu/4.2.0/include /usr/include End of search list. /home/martin/software/ugcc/libexec/gcc/x86_64-unknown-linux-gnu/4.2.0/f951 /tmp/ccCu0SZq.f95 -quiet -dumpbase test.F90 -mtune=k8 -auxbase test -version -o /tmp/ccCKf8wI.s GNU F95 version 4.2.0 20051222 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.2.0 20051222 (experimental). GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=127998 test.F90: In function inithermo: test.F90:847: internal compiler error: in gfc_conv_component_ref, at fortran/trans-expr.c:269 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
This problem must have been introduced in the last few days. Sorry for the long testcase, I can try to reduce further in a few days. -- Summary: [gfortran] ICE in gfc_conv_component_ref, at fortran/trans-expr.c:269 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: martin at mpa-garching dot mpg 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=25532