Author
anonymous
over 4 years ago
Language
C++
Compiler
gcc HEAD 11.0.0 20201012 (experimental)
Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic
Author
anonymous
over 4 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2a
prog.cc:8:38: internal compiler error: Segmentation fault
8 | requires call_bar_with<T, TArgs...>;
| ^
0xc310af crash_signal
../../source/gcc/toplev.c:330
0x5de480 tsubst_pack_expansion(tree_node*, tree_node*, int, tree_node*)
../../source/gcc/cp/pt.c:12929
0x7562e1 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
../../source/gcc/cp/pt.c:13233
0x756768 tsubst_argument_pack(tree_node*, tree_node*, int, tree_node*)
../../source/gcc/cp/pt.c:13195
0x7562b4 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
../../source/gcc/cp/pt.c:13245
0x65d551 normalize_concept_check
../../source/gcc/cp/constraint.cc:689
0x65d551 normalize_atom
../../source/gcc/cp/constraint.cc:723
0x65d551 normalize_expression
../../source/gcc/cp/constraint.cc:752
0x65d894 get_normalized_constraints
../../source/gcc/cp/constraint.cc:764
0x65d894 normalize_constraint_expression
../../source/gcc/cp/constraint.cc:906
0x65f358 normalize_constraint_expression
../../source/gcc/cp/constraint.cc:902
0x65f358 finish_nested_requirement(unsigned int, tree_node*)
../../source/gcc/cp/constraint.cc:2997
0x7082dd cp_parser_nested_requirement
../../source/gcc/cp/parser.c:28279
0x7082dd cp_parser_requirement
../../source/gcc/cp/parser.c:28079
0x7082dd cp_parser_requirement_seq
../../source/gcc/cp/parser.c:28050
0x7082dd cp_parser_requirement_body
../../source/gcc/cp/parser.c:28030
0x7082dd cp_parser_requires_expression
../../source/gcc/cp/parser.c:27976
0x7082dd cp_parser_primary_expression
../../source/gcc/cp/parser.c:5644
0x712374 cp_parser_postfix_expression
../../source/gcc/cp/parser.c:7328
0x6f5a8a cp_parser_binary_expression
../../source/gcc/cp/parser.c:9648
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