https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96819

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
In file included from /usr/include/c++/v1/__functional_base:18,
                 from /usr/include/c++/v1/tuple:152,
                 from 96819.C:1:
/usr/include/c++/v1/utility: In substitution of ‘template<class _T1, class _T2>
template<int& ...<anonymous> > static constexpr bool std::__1::pair<_T1,
_T2>::_CheckArgs::__enable_implicit_default() [with int& ...<anonymous> =
<missing>; _T1 = {}; _T2 = <missing>]’:
/usr/include/c++/v1/utility:341:47:   required from here
/usr/include/c++/v1/utility:341:47: internal compiler error: Segmentation fault
  341 |               && !__enable_implicit_default<>();
      |                                               ^
0xfafeff crash_signal
        /home/jwakely/src/gcc/gcc/gcc/toplev.c:327
0x7f9305da1a6f ???
       
/usr/src/debug/glibc-2.31-48-g64246fccaf/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x892858 tree_class_check(tree_node*, tree_code_class, char const*, int, char
const*)
        /home/jwakely/src/gcc/gcc/gcc/tree.h:3417
0x892858 pop_nested_class()
        /home/jwakely/src/gcc/gcc/gcc/cp/class.c:8138
0xa1d8b4 instantiate_template_1
        /home/jwakely/src/gcc/gcc/gcc/cp/pt.c:20836
0xa2286b instantiate_template(tree_node*, tree_node*, int)
        /home/jwakely/src/gcc/gcc/gcc/cp/pt.c:20891
0xa2286b fn_type_unification(tree_node*, tree_node*, tree_node*, tree_node*
const*, unsigned int, tree_node*, unification_kind_t, int, conversion**, bool,
bool)
        /home/jwakely/src/gcc/gcc/gcc/cp/pt.c:21346
0x87a480 add_template_candidate_real
        /home/jwakely/src/gcc/gcc/gcc/cp/call.c:3417
0x87ae4c add_template_candidate
        /home/jwakely/src/gcc/gcc/gcc/cp/call.c:3502
0x87ae4c add_candidates
        /home/jwakely/src/gcc/gcc/gcc/cp/call.c:5883
0x87e523 add_candidates
        /home/jwakely/src/gcc/gcc/gcc/cp/call.c:5798
0x87e523 build_new_method_call_1
        /home/jwakely/src/gcc/gcc/gcc/cp/call.c:10274
0x87f7df build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc,
vl_embed>**, tree_node*, int, tree_node**, int)
        /home/jwakely/src/gcc/gcc/gcc/cp/call.c:10481
0xa42a61 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool,
bool, int)
        /home/jwakely/src/gcc/gcc/gcc/cp/semantics.c:2624
0x9b6473 cp_parser_postfix_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:7542
0x9bf5e7 cp_parser_unary_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:8560
0x997f4b cp_parser_simple_cast_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:29654
0x997f4b cp_parser_binary_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:9706
0x99995e cp_parser_assignment_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:9946
0x999c82 cp_parser_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:10114
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.

Reply via email to