/home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_1.c:5:9: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in register_vector_type, at config/aarch64/aarch64-sve-builtins.cc:3419 0x6a8c0b tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/tree.c:8738 0x11ed7bf tree_class_check(tree_node*, tree_code_class, char const*, int, char const*) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/tree.h:3523 0x11ed7bf register_vector_type /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/config/aarch64/aarch64-sve-builtins.cc:3419 0x11ed7bf aarch64_sve::handle_arm_sve_h() /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/config/aarch64/aarch64-sve-builtins.cc:3535 0x802ab7 aarch64_pragma_aarch64 /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/config/aarch64/aarch64-c.c:298 0x7309a3 c_parser_pragma /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/c/c-parser.c:12573 0x75e56b c_parser_external_declaration /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/c/c-parser.c:1761 0x75ecef c_parser_translation_unit /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/c/c-parser.c:1653 0x75ecef c_parse_file() /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/c/c-parser.c:22581 0x7c8097 c_common_parse_file() /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/c-family/c-opts.c:1236
I will fix this tomorrow.
Appeared after r12-3278 g:823685221de986afb729910a6f2237f07a377f17
(In reply to Christophe Lyon from comment #2) > Appeared after r12-3278 g:823685221de986afb729910a6f2237f07a377f17 Yes caused by r12-3278.
patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2021-September/578726.html
Fxied by r12-3349-g6b69bf5729852d0510abbe8e04078ddecef0cf17. I forgot to put the PR # in the changelog area.