https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110106
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The full backtrace of the seg fault: t0.cc:3:36: internal compiler error: Segmentation fault 3 | void y(j<0> z) noexcept(noexcept(g{z})); | ^ 0x128f4af crash_signal /home/apinski/src/upstream-gcc-git/gcc/gcc/toplev.cc:314 0x7f37b9c54def ??? /usr/src/debug/glibc-2.34-60.el9.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 0xa40753 tree_check(tree_node*, char const*, int, char const*, tree_code) /home/apinski/src/upstream-gcc-git/gcc/gcc/tree.h:3539 0xa40753 is_really_empty_class(tree_node*, bool) /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/class.cc:8960 0xa6aa99 potential_constant_expression_1 /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/constexpr.cc:9095 0xa69714 potential_constant_expression_1 /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/constexpr.cc:9309 0xa6be0c potential_constant_expression_1(tree_node*, bool, bool, bool, bool, int) /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/constexpr.cc:10131 0xa6be0c is_rvalue_constant_expression(tree_node*) /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/constexpr.cc:10215 0xba4e75 cp_parser_constant_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10801 0xba6301 cp_parser_initializer_clause /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:25522 0xba58e1 cp_parser_initializer_list /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:25812 0xba58e1 cp_parser_braced_list /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:25563 0xba8b4c cp_parser_functional_cast /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:32647 0xbb8547 cp_parser_postfix_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:7703 0xba0d6b cp_parser_binary_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10147 0xba1c72 cp_parser_assignment_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10491 0xba41c3 cp_parser_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10661 0xbd6aa8 cp_parser_unary_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:8937 0xba0d6b cp_parser_binary_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10147 0xba1c72 cp_parser_assignment_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10491 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.