On 10/22/24 12:24 AM, KuanLin Chen wrote:
The GTY skip makes GGC clean the registered functions wrongly in lto.

Example:
riscv64-unknown-elf-gcc -flto gcc/testsuite/gcc.target/riscv/rvv/base/bug-3.c
-O2 -march=rv64gcv

In file included from bug-3.c:2: internal compiler error: Segmentation fault

gcc/ChangeLog:

         *riscv-vector-builtins.cc (registered_function): Remove skip at
         decl.
How was this tested?

I put it through a regression testsuite run and it resulted in about 4700 new failures for both riscv32-elf and riscv64-elf.

Patches need to be regression tested.

Jeff



Reply via email to