https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109655

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is the full backtrace for the trunk:
‘
Segmentation fault
   15 | void D<T>::f()
      |              ^
0x125eddf crash_signal
        /home/apinski/src/upstream-gcc-git/gcc/gcc/toplev.cc:314
0x7f4dc2a54def ???
       
/usr/src/debug/glibc-2.34-60.el9.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0xacf71d cp_printer
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/error.cc:4471
0x223f58f pp_format(pretty_printer*, text_info*)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/pretty-print.cc:1475
0x221dd9e diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic.cc:1592
0x221e4f1 diagnostic_impl
        /home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic.cc:1756
0x221ed46 error(char const*, ...)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic.cc:2052
0xc0822c push_template_decl(tree_node*, bool)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:6159
0xa8db1c start_preparsed_function(tree_node*, tree_node*, int)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/decl.cc:17371
0xaa257e start_function(cp_decl_specifier_seq*, cp_declarator const*,
tree_node*)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/decl.cc:17708
0xbaabdf cp_parser_function_definition_from_specifiers_and_declarator
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:31923
0xbaabdf cp_parser_init_declarator
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:22822
0xbb23b6 cp_parser_single_declaration
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:32563
0xbb257c cp_parser_template_declaration_after_parameters
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:32116
0xbb2e70 cp_parser_explicit_template_declaration
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:32389
0xbb59a5 cp_parser_declaration
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:15050
0xbb63ca cp_parser_toplevel_declaration
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:15142
0xbb63ca cp_parser_translation_unit
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:5131
0xbb63ca c_parse_file()
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:49627
0xcf4b31 c_common_parse_file()
        /home/apinski/src/upstream-gcc-git/gcc/gcc/c-family/c-opts.cc:1248
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.

Reply via email to