Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
prog.cc:9:21: internal compiler error: Segmentation fault
 TT(const char *) -> TT<std::string>;
                     ^~~~~~~~~~~~~~~
0xbcb8bf crash_signal
	../../source/gcc/toplev.c:326
0x70b892 check_special_function_return_type
	../../source/gcc/cp/decl.c:9742
0x70b892 grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*, decl_context, int, tree_node**)
	../../source/gcc/cp/decl.c:10319
0x70f126 start_decl(cp_declarator const*, cp_decl_specifier_seq*, int, tree_node*, tree_node*, tree_node**)
	../../source/gcc/cp/decl.c:4909
0x780e6e cp_parser_init_declarator
	../../source/gcc/cp/parser.c:19489
0x785c3a cp_parser_single_declaration
	../../source/gcc/cp/parser.c:27073
0x785d6c cp_parser_template_declaration_after_parameters
	../../source/gcc/cp/parser.c:26676
0x7863ff cp_parser_explicit_template_declaration
	../../source/gcc/cp/parser.c:26912
0x7863ff cp_parser_template_declaration_after_export
	../../source/gcc/cp/parser.c:26931
0x78a151 cp_parser_declaration
	../../source/gcc/cp/parser.c:12676
0x78a41b cp_parser_declaration_seq_opt
	../../source/gcc/cp/parser.c:12603
0x78a6de cp_parser_translation_unit
	../../source/gcc/cp/parser.c:4391
0x78a6de c_parse_file()
	../../source/gcc/cp/parser.c:38915
0x83adc6 c_common_parse_file()
	../../source/gcc/c-family/c-opts.c:1113
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Exit Code:
1