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.

Attachment: 0001-RISC-V-Remove-skip-of-decl-in-registered_function.patch
Description: Binary data

Reply via email to