the following testcase http://www.pci.unizh.ch/vandevondele/tmp/all_cp2k_gfortran.f90.gz
generates an ICE when compiling gfortran -v -c -g -O3 -ffast-math -funroll-loops -ftree-vectorize -march=native all_cp2k_gfortran.f90 Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: /data03/vondele/gcc_vta/gcc/configure --prefix=/data03/vondele/gcc_vta/build --with-gmp=/data03/vondele/ --with-mpfr=/data03/vondele/ --enable-languages=c,fortran Thread model: posix gcc version 4.4.0 20080729 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-g' '-O3' '-ffast-math' '-funroll-loops' '-ftree-vectorize' /data03/vondele/gcc_vta/build/libexec/gcc/x86_64-unknown-linux-gnu/4.4.0/f951 all_cp2k_gfortran.f90 -march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=k8 -quiet -dumpbase all_cp2k_gfortran.f90 -auxbase all_cp2k_gfortran -g -O3 -version -ffast-math -funroll-loops -ftree-vectorize -fintrinsic-modules-path /data03/vondele/gcc_vta/build/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/finclude -o /tmp/ccukjSCb.s GNU Fortran (GCC) version 4.4.0 20080729 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.4.0 20080729 (experimental), GMP version 4.2.1, MPFR version 2.2.1. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 <paren_expr 0x2acbad1ad180 type <real_type 0x2acb8bd15600 real(kind=8) asm_written DF size <integer_cst 0x2acb8bcfdb40 constant 64> unit size <integer_cst 0x2acb8bcfdb70 constant 8> align 64 symtab -1940364928 alias set 3 canonical type 0x2acb8bd15600 precision 64 pointer_to_this <pointer_type 0x2acb8bd15840> reference_to_this <reference_type 0x2acb8c04ec00>> arg 0 <minus_expr 0x2acbad1ad140 type <real_type 0x2acb8bd15600 real(kind=8)> arg 0 <mult_expr 0x2acbad1ad0c0 type <real_type 0x2acb8bd15600 real(kind=8)> arg 0 <var_decl 0x2acb8f3f3b40 D.88376> arg 1 <var_decl 0x2acb8ee46640 D.88368>> arg 1 <mult_expr 0x2acbad1ad100 type <real_type 0x2acb8bd15600 real(kind=8)> arg 0 <var_decl 0x2acb8f2e0a00 D.88374> arg 1 <var_decl 0x2acb8f03f780 D.88364>>>> all_cp2k_gfortran.f90: In function det_3x3_2: all_cp2k_gfortran.f90:43446: internal compiler error: in expand_debug_expr, at cfgexpand.c:2519 -- Summary: [vta] ICE in expand_debug_expr, at cfgexpand.c:2519 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: debug 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=37098