[PATCH] Combine location with block using block_locations
Dominique Dhumieres
dominiq@lps.ens.fr
Thu Sep 20 10:59:00 GMT 2012
A lot of failures in the test suite have appeared between revisions
191485 and 191494 see http://gcc.gnu.org/ml/gcc-regression/2012-09/msg00327.html ).
I have looked at the failure of libgomp.fortran/reduction1.f90:
[macbook] f90/bug% gfc -O3 -g -fopenmp /opt/gcc/work/libgomp/testsuite/libgomp.fortran/reduction1.f90
/opt/gcc/work/libgomp/testsuite/libgomp.fortran/reduction1.f90: In function 'MAIN__._omp_fn.0':
/opt/gcc/work/libgomp/testsuite/libgomp.fortran/reduction1.f90:22:0: internal compiler error: in change_scope, at final.c:1543
!$omp & reduction (+:i, ia, r, ra, d, da, c, ca)
The backtrace is
#0 fancy_abort (file=0x100a7b376 "../../work/gcc/final.c", line=1543, function=0x100b418b3 "change_scope") at ../../work/gcc/diagnostic.c:1010
#1 0x000000010045f9f9 in change_scope (orig_insn=<value optimized out>, s1=<value optimized out>, s2=<value optimized out>)
at ../../work/gcc/final.c:1543
#2 0x0000000100463c40 in final_start_function (first=<value optimized out>, file=<value optimized out>, optimize_p=<value optimized out>)
at ../../work/gcc/final.c:1613
#3 0x0000000100465761 in rest_of_handle_final () at ../../work/gcc/final.c:4291
#4 0x00000001006486ea in execute_one_pass (pass=<value optimized out>) at ../../work/gcc/passes.c:2206
#5 0x0000000100648afd in execute_pass_list (pass=<value optimized out>) at ../../work/gcc/passes.c:2261
#6 0x0000000100648b0f in execute_pass_list (pass=<value optimized out>) at ../../work/gcc/passes.c:2262
#7 0x0000000100648b0f in execute_pass_list (pass=<value optimized out>) at ../../work/gcc/passes.c:2262
#8 0x0000000100365f4b in expand_function (node=<value optimized out>) at ../../work/gcc/cgraphunit.c:1609
#9 0x00000001003680ba in compile () at ../../work/gcc/cgraphunit.c:1714
#10 0x000000010036870f in finalize_compilation_unit () at ../../work/gcc/cgraphunit.c:2089
#11 0x00000001005e0f27 in write_global_declarations () at ../../work/gcc/langhooks.c:323
#12 0x00000001007047f1 in compile_file () at ../../work/gcc/toplev.c:560
#13 0x000000010070663c in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at ../../work/gcc/toplev.c:1863
#14 0x0000000100000e14 in start ()
Could you have a look to this problem?
TIA
Dominique
More information about the Gcc-patches
mailing list