http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54991
Bug #: 54991 Summary: [LRA] internal compiler error: in lra_assign, at lra-assigns.c:1361 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: joost.vandevond...@mat.ethz.ch I have tested LRA (20121014 (experimental) [lra revision 192621]) on CP2K and find the following ICE: /data/vjoost/gnu/cp2k/cp2k/makefiles/../src/dbcsr_lib/dbcsr_operations.F:4471:0: internal compiler error: in lra_assign, at lra-assigns.c:1361 END SUBROUTINE dbcsr_lanczos_extremal_eig ^ 0x8621b2 lra_assign() ../../gcc/gcc/lra-assigns.c:1361 0x85e2f2 lra(_IO_FILE*) ../../gcc/gcc/lra.c:2309 0x826696 do_reload ../../gcc/gcc/ira.c:4613 0x826696 rest_of_handle_reload ../../gcc/gcc/ira.c:4719 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. make[1]: *** [dbcsr_operations.o] Error 1 make[1]: Leaving directory `/data/vjoost/gnu/cp2k/cp2k/obj/gfortran-test28/sopt' make: *** [build] Error 2 Unfortunately, I don't know how to produce a small testcase, as this is happening only for a compilation with '-fprofile-use'. I could tar the needed mod files and .gdca if that is an option. This is happening on x86_64: -march=corei7 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=24576 -mtune=corei7