Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 2 years ago

Language

C++

Compiler

gcc HEAD 13.0.0 20221102 (experimental)

Options
Warnings
Don't Use Boost
C++2b(GNU)
-pedantic
Raw compiler options
-Ofast

Author

anonymous

over 2 years ago

$ g++ prog.cc -Wall -Wextra -std=gnu++2b -pedantic -Ofast
prog.cc: In instantiation of 'assign_tuple<std::tuple<int, int, int>, int, int, int>(std::tuple<int, int, int>&, int&&, int&&, int&&)::<lambda(std::index_sequence<I ...>)> [with auto ...I = {0, 1, 2}; std::index_sequence<I ...> = std::integer_sequence<long unsigned int, 0, 1, 2>]':
prog.cc:21:4:   required from 'constexpr void assign_tuple(auto:1&, auto:2&& ...) [with auto:1 = std::tuple<int, int, int>; auto:2 = {int, int, int}]'
prog.cc:29:15:   required from here
prog.cc:18:73: internal compiler error: Segmentation fault
   18 |     noexcept(noexcept(((std::get<I>(t) = std::forward<decltype(a)>(a)), ...)))
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
0xdcc1af crash_signal
	../../source/gcc/toplev.cc:314
0x727215 hash_table<hash_map<tree_node*, tree_node*, simple_hashmap_traits<default_hash_traits<tree_node*>, tree_node*> >::hash_entry, false, xcallocator>::find_slot_with_hash(tree_node* const&, unsigned int, insert_option)
	../../source/gcc/hash-table.h:966
0x8503ad hash_map<tree_node*, tree_node*, simple_hashmap_traits<default_hash_traits<tree_node*>, tree_node*> >::put(tree_node* const&, tree_node* const&)
	../../source/gcc/hash-map.h:170
0x8503ad register_local_specialization(tree_node*, tree_node*)
	../../source/gcc/cp/pt.cc:1968
0x87187f add_extra_args(tree_node*, tree_node*, int, tree_node*)
	../../source/gcc/cp/pt.cc:13091
0x869250 tsubst_pack_expansion(tree_node*, tree_node*, int, tree_node*)
	../../source/gcc/cp/pt.cc:13129
0x85435f tsubst_fold_expr_pack
	../../source/gcc/cp/pt.cc:12774
0x85435f tsubst_unary_right_fold
	../../source/gcc/cp/pt.cc:12890
0x85435f tsubst_copy
	../../source/gcc/cp/pt.cc:17668
0x855a5e tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
	../../source/gcc/cp/pt.cc:21579
0x856978 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
	../../source/gcc/cp/pt.cc:20620
0x8595f3 maybe_instantiate_noexcept(tree_node*, int)
	../../source/gcc/cp/pt.cc:26389
0x7785aa mark_used(tree_node*, int)
	../../source/gcc/cp/decl2.cc:5672
0x6fa9f6 build_over_call
	../../source/gcc/cp/call.cc:10105
0x6fff69 build_op_call(tree_node*, vec<tree_node*, va_gc, vl_embed>**, int)
	../../source/gcc/cp/call.cc:5140
0x88c56f finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool, bool, int)
	../../source/gcc/cp/semantics.cc:2930
0x856003 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
	../../source/gcc/cp/pt.cc:21135
0x861fd8 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../../source/gcc/cp/pt.cc:19638
0x862d8c tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../../source/gcc/cp/pt.cc:18599
0x862d8c tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../../source/gcc/cp/pt.cc:18641
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.
Exit Code:
1