Author
anonymous
about 4 years ago
Language
C++
Compiler
gcc HEAD 11.0.1 20210313 (experimental)
Options
Warnings
Boost 1.73.0
C++2b(GNU)
no pedantic
Author
anonymous
about 4 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2b
prog.cc: In instantiation of 'void g(Args ...) [with Args = {int}]':
prog.cc:8:17: required from here
prog.cc:5:4: internal compiler error: Segmentation fault
5 | f([](Args) noexcept(args) {} ...);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
0xca877f crash_signal
../../source/gcc/toplev.c:327
0x63bc07 standard_conversion
../../source/gcc/cp/call.c:1216
0x63e67e implicit_conversion_1
../../source/gcc/cp/call.c:2033
0x63f1bb implicit_conversion
../../source/gcc/cp/call.c:2132
0x645bb3 build_converted_constant_expr_internal
../../source/gcc/cp/call.c:4394
0x6cf167 build_noexcept_spec(tree_node*, int)
../../source/gcc/cp/except.c:1234
0x792c2c tsubst_exception_specification
../../source/gcc/cp/pt.c:15222
0x790fa3 tsubst(tree_node*, tree_node*, int, tree_node*)
../../source/gcc/cp/pt.c:15956
0x7a8055 tsubst_lambda_expr(tree_node*, tree_node*, int, tree_node*)
../../source/gcc/cp/pt.c:19362
0x78f384 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../source/gcc/cp/pt.c:20808
0x79f214 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../source/gcc/cp/pt.c:19505
0x79f214 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../source/gcc/cp/pt.c:19115
0x79e1a7 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../source/gcc/cp/pt.c:18140
0x79e1a7 gen_elem_of_pack_expansion_instantiation
../../source/gcc/cp/pt.c:12539
0x79e1a7 tsubst_pack_expansion(tree_node*, tree_node*, int, tree_node*)
../../source/gcc/cp/pt.c:13160
0x78edef tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../source/gcc/cp/pt.c:20161
0x79f214 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../source/gcc/cp/pt.c:19505
0x79f214 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../source/gcc/cp/pt.c:19115
0x7a0281 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../source/gcc/cp/pt.c:18140
0x7a0281 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../source/gcc/cp/pt.c:18185
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