Re: [PATCH] RISC-V: Remove skip of decl in registered_function.

2024-10-27 Thread Jeff Law
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 fau

[PATCH] RISC-V: Remove skip of decl in registered_function.

2024-10-21 Thread KuanLin Chen
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-built