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

            Bug ID: 118036
           Summary: [15 Regression] RISC-V:
                    gcc.dg/vect/vect-alias-check-11.c abort
           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 error on rv32/64 newlib/linux vector
targets:

FAIL: gcc.dg/vect/vect-alias-check-11.c -flto -ffat-lto-objects execution test
FAIL: gcc.dg/vect/vect-alias-check-11.c execution test
FAIL: gcc.dg/vect/vect-alias-check-12.c -flto -ffat-lto-objects execution test
FAIL: gcc.dg/vect/vect-alias-check-12.c execution test

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

built and compiled locally on r15-6247-gb8314ebff24 and found the failure
persists. Have not bisected yet

testsuite log:
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/gcc.dg/vect/vect-alias-check-11.c
-march=rv32gcv -mabi=ilp32d -mcmodel=medlow -fdiagnostics-plain-output -flto
-ffat-lto-objects -mno-vector-strict-align -ftree-vectorize
-fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-common -O2
-fdump-tree-vect-details -lm -o ./vect-alias-check-11.exe
PASS: gcc.dg/vect/vect-alias-check-11.c -flto -ffat-lto-objects (test for
excess errors)
spawn riscv64-unknown-linux-gnu-run ./vect-alias-check-11.exe
/data-disk-1/github/rise-postcommit-7/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/../scripts/wrapper/qemu/riscv64-unknown-linux-gnu-run:
line 17: 2572334 Aborted                 (core dumped) QEMU_CPU="${qemu_cpu}"
qemu-riscv${xlen} -r 5.10 "${qemu_args[@]}" -L ${RISC_V_SYSROOT} "$@"
FAIL: gcc.dg/vect/vect-alias-check-11.c -flto -ffat-lto-objects execution test

gdb backtrace:
0x2b2bc350 in _start () from
/scratch/ewlu/ci/triage/compare/build-abort/sysroot/lib/ld-linux-riscv32-ilp32d.so.1
(gdb) c
Continuing.

Program received signal SIGABRT, Aborted.
0x2b3f3e38 in __pthread_kill_implementation () from
/scratch/ewlu/ci/triage/compare/build-abort/sysroot/lib32/ilp32d/libc.so.6
(gdb) bt
#0  0x2b3f3e38 in __pthread_kill_implementation () from
/scratch/ewlu/ci/triage/compare/build-abort/sysroot/lib32/ilp32d/libc.so.6
#1  0x2b3ba1ca in raise () from
/scratch/ewlu/ci/triage/compare/build-abort/sysroot/lib32/ilp32d/libc.so.6
#2  0x2b3a95ee in abort () from
/scratch/ewlu/ci/triage/compare/build-abort/sysroot/lib32/ilp32d/libc.so.6
#3  0x000110a2 in main () at
../gcc/gcc/testsuite/gcc.dg/vect/vect-alias-check-11.c:76

Reply via email to