Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.1 20200119 (experimental)

Options
Warnings
Don't Use Boost
C++2a
no pedantic

Author

anonymous

over 6 years ago

$ g++ prog.cc -Wall -Wextra -std=c++2a
prog.cc:35:40: internal compiler error: Segmentation fault
   35 |     using Bar = detail::Bar<Str.content>;
      |                                        ^
0xc128df crash_signal
	../../source/gcc/toplev.c:328
0x5feb83 resolve_args(vec<tree_node*, va_gc, vl_embed>*, int)
	../../source/gcc/cp/call.c:4429
0x70e4ef do_class_deduction
	../../source/gcc/cp/pt.c:28566
0x70e4ef do_auto_deduction(tree_node*, tree_node*, tree_node*, int, auto_deduction_context, tree_node*, int)
	../../source/gcc/cp/pt.c:28699
0x70f942 convert_template_argument
	../../source/gcc/cp/pt.c:8325
0x72246f convert_template_argument
	../../source/gcc/cp/pt.c:8098
0x72246f coerce_template_parms
	../../source/gcc/cp/pt.c:8829
0x72625a lookup_template_class_1
	../../source/gcc/cp/pt.c:9666
0x7274dc lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int)
	../../source/gcc/cp/pt.c:10038
0x74276d finish_template_type(tree_node*, tree_node*, int)
	../../source/gcc/cp/semantics.c:3405
0x6eb68d cp_parser_template_id
	../../source/gcc/cp/parser.c:16659
0x6eb8fa cp_parser_class_name
	../../source/gcc/cp/parser.c:23564
0x6e8811 cp_parser_qualifying_entity
	../../source/gcc/cp/parser.c:6727
0x6e8811 cp_parser_nested_name_specifier_opt
	../../source/gcc/cp/parser.c:6410
0x6efa7f cp_parser_simple_type_specifier
	../../source/gcc/cp/parser.c:18054
0x6d6a4d cp_parser_type_specifier
	../../source/gcc/cp/parser.c:17712
0x6e9ee4 cp_parser_type_specifier_seq
	../../source/gcc/cp/parser.c:22271
0x6e4294 cp_parser_type_id_1
	../../source/gcc/cp/parser.c:22100
0x6e5458 cp_parser_type_id
	../../source/gcc/cp/parser.c:22179
0x6e5458 cp_parser_alias_declaration
	../../source/gcc/cp/parser.c:19927
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