the to be attached testcase (with modules unfortunately) ICEs with current trunk as :
> gfortran -v -c -O2 -fipa-type-escape dbcsr_util.F90 Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: /data03/vondele/gcc_trunk/gcc/configure --prefix=/data03/vondele/gcc_trunk/build --enable-languages=c,c++,fortran --disable-multilib --with-ppl=/data03/vondele/gcc_trunk/build/ --with-cloog=/data03/vondele/gcc_trunk/build/ Thread model: posix gcc version 4.5.0 20090527 (experimental) [trunk revision 147915] (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-O2' '-fipa-type-escape' '-mtune=generic' /data03/vondele/gcc_trunk/build/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/f951 dbcsr_util.F90 -cpp /tmp/ccoeb48T.f90 -quiet -v dbcsr_util.F90 -quiet -dumpbase dbcsr_util.F90 -mtune=generic -auxbase dbcsr_util -O2 -version -fipa-type-escape -fintrinsic-modules-path /data03/vondele/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/finclude -o /tmp/ccO8pp8D.s GNU Fortran (GCC) version 4.5.0 20090527 (experimental) [trunk revision 147915] (x86_64-unknown-linux-gnu) compiled by GNU C version 4.5.0 20090527 (experimental) [trunk revision 147915], GMP version 4.2.2, MPFR version 2.3.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 ignoring nonexistent directory "/data03/vondele/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /data03/vondele/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/finclude /usr/local/include /data03/vondele/gcc_trunk/build/include /data03/vondele/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include /data03/vondele/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include-fixed /usr/include End of search list. GNU Fortran (GCC) version 4.5.0 20090527 (experimental) [trunk revision 147915] (x86_64-unknown-linux-gnu) compiled by GNU C version 4.5.0 20090527 (experimental) [trunk revision 147915], GMP version 4.2.2, MPFR version 2.3.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 dbcsr_util.F90:263: 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. -- Summary: ICE with -fipa-type-escape Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40282