https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112989
--- Comment #12 from Richard Sandiford <rsandifo at gcc dot gnu.org> --- > another is try > #pragma GCC aarch64 "arm_sve.h" > after a couple of intentional declarations of the SVE builtins with > non-standard return/argument types and make sure that while it emits some > errors, it doesn't try to use ggc_freed decls in registered tables. FWIW, this is what the g*.target/aarch64/sve/acle/general*/func_redef_* tests are supposed to test (although not specifically targeting ggc_free).