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

            Bug ID: 116820
           Summary: [15 regression] RISC-V: ICE verify_ssa failed for
                    c-c++-common/torture/pr101636.c
           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: ---

Our postcommit is seeing the following failures on all vector targets
FAIL: c-c++-common/torture/pr101636.c   -O1  (internal compiler error:
verify_ssa failed)
FAIL: c-c++-common/torture/pr101636.c   -O1  (test for excess errors)
FAIL: c-c++-common/torture/pr101636.c   -O2  (internal compiler error:
verify_ssa failed)
FAIL: c-c++-common/torture/pr101636.c   -O2  (test for excess errors)
FAIL: c-c++-common/torture/pr101636.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (internal compiler error: verify_ssa failed)
FAIL: c-c++-common/torture/pr101636.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (test for excess errors)
FAIL: c-c++-common/torture/pr101636.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: verify_ssa
failed)
FAIL: c-c++-common/torture/pr101636.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: c-c++-common/torture/pr101636.c   -O3 -g  (internal compiler error:
verify_ssa failed)
FAIL: c-c++-common/torture/pr101636.c   -O3 -g  (test for excess errors)

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

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

/data-disk-1/github/rise-postcommit-7/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/torture/pr101636.c
 -march=rv32gcv -mabi=ilp32d -mcmodel=medlow   -fdiagnostics-plain-output   
-O1  -ftree-vectorize -fno-vect-cost-model -S   -o pr101636.s    (timeout =
600)
spawn -ignore SIGHUP
/data-disk-1/github/rise-postcommit-7/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/xgcc
-B/data-disk-1/github/rise-postcommit-7/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/
/data-disk-1/github/rise-postcommit-7/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/torture/pr101636.c
-march=rv32gcv -mabi=ilp32d -mcmodel=medlow -fdiagnostics-plain-output -O1
-ftree-vectorize -fno-vect-cost-model -S -o pr101636.s
/data-disk-1/github/rise-postcommit-7/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/torture/pr101636.c:
In function 'bar':
/data-disk-1/github/rise-postcommit-7/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/torture/pr101636.c:12:1:
error: definition in block 3 follows the use
for SSA_NAME: patt_319 in statement:
_346 = {patt_319, patt_319, patt_319, patt_319};
during GIMPLE pass: vect
/data-disk-1/github/rise-postcommit-7/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/c-c++-common/torture/pr101636.c:12:1:
internal compiler error: verify_ssa failed
0x2e06eab internal_error(char const*, ...)
        ../../../gcc/gcc/diagnostic-global-context.cc:517
0x14ec297 verify_ssa(bool, bool)
        ../../../gcc/gcc/tree-ssa.cc:1203
0x10ceb0b execute_function_todo
        ../../../gcc/gcc/passes.cc:2108
0x10cf533 execute_todo
        ../../../gcc/gcc/passes.cc:2155
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: c-c++-common/torture/pr101636.c   -O1  (internal compiler error:
verify_ssa failed)
FAIL: c-c++-common/torture/pr101636.c   -O1  (test for excess errors)

Currently bisecting and will provide a preprocessed file once finished

Reply via email to