https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80123

            Bug ID: 80123
           Summary: libgomp tests pr66199-2.c and pr66199-5.c fail with
                    -mcpu=power9
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acsawdey at gcc dot gnu.org
                CC: dje at gcc dot gnu.org, meissner at gcc dot gnu.org,
                    wschmidt at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc64*-*-* power9

Both of these fail in the same way with 246224:

gcc/xgcc -Bgcc ../trunk/libgomp/testsuite/libgomp.c/pr66199-2.c
-Bpowerpc64le-unknown-linux-gnu/libgomp/
-Bpowerpc64le-unknown-linux-gnu/libgomp/.libs
-Ipowerpc64le-unknown-linux-gnu/libgomp
-I../trunk/libgomp/testsuite/../../include -I../trunk/libgomp/testsuite/..
-fmessage-length=0 -fno-diagnostics-show-caret -Wno-hsa
-fdiagnostics-color=never -fopenmp -O2
-L/home/sawdey/work/gcc/trunk/build4/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-lm -o ./pr66199-2.exe -mcpu=power9
../trunk/libgomp/testsuite/libgomp.c/pr66199-2.c: In function ‘f2._omp_fn.3’:
../trunk/libgomp/testsuite/libgomp.c/pr66199-2.c:21:11: error: could not split
insn
(insn 70 61 188 (set (reg:V2DI 86 9 [orig:206 vect_cst__132 ] [206])
        (vec_duplicate:V2DI (reg/v:DI 0 0 [orig:163 c ] [163]))) 1235
{vsx_splat_v2di}
     (nil))
../trunk/libgomp/testsuite/libgomp.c/pr66199-2.c:21:11: internal compiler
error: in final_scan_insn, at final.c:3025
0x108bc1d3 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../trunk/gcc/rtl-error.c:108
0x1053fa5b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        ../../trunk/gcc/final.c:3025
0x1053fe37 final(rtx_insn*, _IO_FILE*, int)
        ../../trunk/gcc/final.c:2051
0x10540497 rest_of_handle_final
        ../../trunk/gcc/final.c:4489
0x10540497 execute
        ../../trunk/gcc/final.c:4562


gcc/xgcc -Bgcc ../trunk/libgomp/testsuite/libgomp.c/pr66199-5.c
-Bpowerpc64le-unknown-linux-gnu/libgomp/
-Bpowerpc64le-unknown-linux-gnu/libgomp/.libs
-Ipowerpc64le-unknown-linux-gnu/libgomp
-I../trunk/libgomp/testsuite/../../include -I../trunk/libgomp/testsuite/..
-fmessage-length=0 -fno-diagnostics-show-caret -Wno-hsa
-fdiagnostics-color=never -fopenmp -O2
-L/home/sawdey/work/gcc/trunk/build4/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-lm -o ./pr66199-5.exe -mcpu=power9
../trunk/libgomp/testsuite/libgomp.c/pr66199-5.c: In function ‘f2._omp_fn.3’:
../trunk/libgomp/testsuite/libgomp.c/pr66199-5.c:24:11: error: could not split
insn
(insn 75 66 200 (set (reg:V2DI 86 9 [orig:209 vect_cst__140 ] [209])
        (vec_duplicate:V2DI (reg/v:DI 0 0 [orig:162 c ] [162]))) 1235
{vsx_splat_v2di}
     (nil))
../trunk/libgomp/testsuite/libgomp.c/pr66199-5.c:24:11: internal compiler
error: in final_scan_insn, at final.c:3025
0x108bc1d3 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../trunk/gcc/rtl-error.c:108
0x1053fa5b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        ../../trunk/gcc/final.c:3025
0x1053fe37 final(rtx_insn*, _IO_FILE*, int)
        ../../trunk/gcc/final.c:2051
0x10540497 rest_of_handle_final
        ../../trunk/gcc/final.c:4489
0x10540497 execute
        ../../trunk/gcc/final.c:4562

Reply via email to