http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54650



             Bug #: 54650

           Summary: libgomp regression

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: libgomp

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: de...@google.com





This problem is reported in:



http://gcc.gnu.org/ml/gcc-patches/2012-09/msg01441.html



The bug was introduced in r191494



[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 ()

Reply via email to