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

            Bug ID: 118363
           Summary: [15 regression] RISC-V: excess errors in
                    c-c++-common/gomp/dispatch-11.c with zvls > 128
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ewlu at rivosinc dot com
  Target Milestone: ---

Postcommit is seeing the following errors for linux rv64 zvl(256|512|1024)b
targets:

FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++17  at line 46 (test for errors,
line 43)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++17  at line 53 (test for
warnings, line 21)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++17  at line 57 (test for
warnings, line 25)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++17  at line 80 (test for errors,
line 77)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++17  at line 90 (test for errors,
line 87)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++17 (test for excess errors)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++26  at line 46 (test for errors,
line 43)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++26  at line 53 (test for
warnings, line 21)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++26  at line 57 (test for
warnings, line 25)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++26  at line 80 (test for errors,
line 77)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++26  at line 90 (test for errors,
line 87)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++26 (test for excess errors)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++98  at line 46 (test for errors,
line 43)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++98  at line 53 (test for
warnings, line 21)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++98  at line 57 (test for
warnings, line 25)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++98  at line 80 (test for errors,
line 77)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++98  at line 90 (test for errors,
line 87)
FAIL: c-c++-common/gomp/dispatch-11.c  -std=c++98 (test for excess errors)
FAIL: c-c++-common/gomp/dispatch-11.c  at line 45 (test for errors, line 43)
FAIL: c-c++-common/gomp/dispatch-11.c  at line 52 (test for warnings, line 21)
FAIL: c-c++-common/gomp/dispatch-11.c  at line 56 (test for warnings, line 25)
FAIL: c-c++-common/gomp/dispatch-11.c  at line 79 (test for errors, line 77)
FAIL: c-c++-common/gomp/dispatch-11.c  at line 89 (test for errors, line 87)
FAIL: c-c++-common/gomp/dispatch-11.c (test for excess errors)

https://github.com/patrick-rivos/gcc-postcommit-ci/issues/2401

linux rv64gcv_zvl128b appears to be unaffected.

testsuite log:
Executing on host:
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/xgcc
-B/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/

/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c
 -march=rv64gcv_zvl256b -mabi=lp64d -mcmodel=medlow  
-fdiagnostics-plain-output   -fopenmp -fdump-tree-original -S   -o
dispatch-11.s    (timeout = 600)
spawn -ignore SIGHUP
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/xgcc
-B/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c
-march=rv64gcv_zvl256b -mabi=lp64d -mcmodel=medlow -fdiagnostics-plain-output
-fopenmp -fdump-tree-original -S -o dispatch-11.s
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:
In function 'dupl':
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:38:32:
error: too many 'interop' clauses
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:43:32:
error: too many 'interop' clauses
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:38:48:
error: number of list items in 'interop' clause (2) exceeds the number of
'append_args' items (0) for 'declare variant' candidate 'repl1'
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:19:7:
note: 'declare variant' candidate 'repl1' declared here
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:43:61:
error: unexpected 'interop' clause as invoked procedure 'base2' is not variant
substituted
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:25:6:
note: 'base2' declared here
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:
In function 'test':
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:67:32:
error: number of list items in 'interop' clause (1) exceeds the number of
'append_args' items (0) for 'declare variant' candidate 'repl1'
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:19:7:
note: 'declare variant' candidate 'repl1' declared here
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:72:32:
error: number of list items in 'interop' clause (2) exceeds the number of
'append_args' items (0) for 'declare variant' candidate 'repl1'
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:19:7:
note: 'declare variant' candidate 'repl1' declared here
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:77:45:
error: unexpected 'interop' clause as invoked procedure 'base1' is not variant
substituted
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:21:7:
note: 'base1' declared here
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:82:31:
error: number of list items in 'interop' clause (2) exceeds the number of
'append_args' items (0) for 'declare variant' candidate 'repl2'
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:23:6:
note: 'declare variant' candidate 'repl2' declared here
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:87:31:
error: unexpected 'interop' clause as invoked procedure 'base2' is not variant
substituted
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:25:6:
note: 'base2' declared here
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:92:31:
error: number of list items in 'interop' clause (2) exceeds the number of
'append_args' items (1) for 'declare variant' candidate 'repl3'
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:28:109:
note: 'declare variant' candidate 'repl3' declared here
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:28:109:
sorry, unimplemented: 'append_args' clause not yet supported for 'repl3'
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:92:11:
note: required by 'dispatch' construct
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:28:109:
sorry, unimplemented: 'append_args' clause not yet supported for 'repl3'
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:98:11:
note: required by 'dispatch' construct
compiler exited with status 1
PASS: c-c++-common/gomp/dispatch-11.c  (test for errors, line 38)
PASS: c-c++-common/gomp/dispatch-11.c  at line 40 (test for errors, line 38)
PASS: c-c++-common/gomp/dispatch-11.c  (test for errors, line 43)
FAIL: c-c++-common/gomp/dispatch-11.c  at line 45 (test for errors, line 43)
PASS: c-c++-common/gomp/dispatch-11.c  at line 50 (test for warnings, line 19)
FAIL: c-c++-common/gomp/dispatch-11.c  at line 52 (test for warnings, line 21)
PASS: c-c++-common/gomp/dispatch-11.c  at line 54 (test for warnings, line 23)
FAIL: c-c++-common/gomp/dispatch-11.c  at line 56 (test for warnings, line 25)
PASS: c-c++-common/gomp/dispatch-11.c  at line 58 (test for warnings, line 28)
PASS: c-c++-common/gomp/dispatch-11.c  at line 69 (test for errors, line 67)
PASS: c-c++-common/gomp/dispatch-11.c  at line 74 (test for errors, line 72)
FAIL: c-c++-common/gomp/dispatch-11.c  at line 79 (test for errors, line 77)
PASS: c-c++-common/gomp/dispatch-11.c  at line 84 (test for errors, line 82)
FAIL: c-c++-common/gomp/dispatch-11.c  at line 89 (test for errors, line 87)
PASS: c-c++-common/gomp/dispatch-11.c  at line 94 (test for errors, line 92)
PASS: c-c++-common/gomp/dispatch-11.c  at line 96 (test for warnings, line 92)
PASS: c-c++-common/gomp/dispatch-11.c  at line 100 (test for warnings, line 28)
PASS: c-c++-common/gomp/dispatch-11.c  at line 102 (test for warnings, line 98)
FAIL: c-c++-common/gomp/dispatch-11.c (test for excess errors)
Excess errors:
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:43:61:
error: unexpected 'interop' clause as invoked procedure 'base2' is not variant
substituted
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:25:6:
note: 'base2' declared here
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:77:45:
error: unexpected 'interop' clause as invoked procedure 'base1' is not variant
substituted
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:21:7:
note: 'base1' declared here
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:87:31:
error: unexpected 'interop' clause as invoked procedure 'base2' is not variant
substituted
/data-disk-1/github/rise-postcommit-10/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/gomp/dispatch-11.c:25:6:
note: 'base2' declared here

Reply via email to