I receive an ICE from gfortran: $ gcc/bin/gfortran --version GNU Fortran 95 (GCC 3.5.0 20040517 (experimental)) /home/eschnett/gcc/bin/gfortran -march=pentium4 -malign-double -m128bit-long-double -ftrapv -g3 -Wall -c -o $current_wd/D3_extract.F.o $current_wd/D3_extract.f /home/eschnett/Calpha/Cactus/configs/einstein-gcc-debug/build/Extract/D3_extract.f: In function `d3_extract': /home/eschnett/Calpha/Cactus/configs/einstein-gcc-debug/build/Extract/D3_extract.f:-11: internal compiler error: in final_scan_insn, at final.c:1848 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. I will attach the source code files.
Created attachment 6320 [details] Failing source code
Created attachment 6321 [details] used module
Created attachment 6322 [details] used module
Created attachment 6323 [details] used module
Created attachment 6324 [details] used module
Confirmed, for some reason the line number is negative (-11), either the middle-end is producing the wrong note which I almost think is the case then it is a dup of bug 14711 or PR 14712 or bug 15426. Note the number of lines in this testcase is less than 1000. Or the fortran front-end is producing them, which means this is a recent regression.
Middle-end and not a target bug.
Well this testcase now works so closing as fixed, I am going to assume it was a front-end problem which has been fixed.