From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4C06B384601F; Mon, 12 Jul 2021 08:10:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C06B384601F From: "avi@cloudius-systems.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179 Date: Mon, 12 Jul 2021 08:10:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: avi@cloudius-systems.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2021 08:10:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101420 --- Comment #9 from Avi Kivity --- I found -dH and have a core: (gdb) bt #0 0x00007f26600e02a2 in ?? () from /lib64/libc.so.6 #1 0x00007f26600c98a4 in ?? () from /lib64/libc.so.6 #2 0x0000000000ff1af4 in diagnostic_action_after_output(diagnostic_context= *, diagnostic_t) [clone .cold] () #3 0x000000000142bdab in diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*) () #4 0x000000000162d12a in diagnostic_impl(rich_location*, diagnostic_metada= ta const*, int, char const*, __va_list_tag (*) [1], diagnostic_t) () #5 0x0000000000ff2ac8 in internal_error(char const*, ...) () #6 0x0000000000ff2ba3 in fancy_abort(char const*, int, char const*) () #7 0x0000000000620c80 in build_special_member_call(tree_node*, tree_node*, vec**, tree_node*, int, int) [clone .cold] () #8 0x00000000006400fa in flatten_await_stmt(var_nest_node*, hash_set >*, hash_set >*, tree_node**= ) () #9 0x0000000000640252 in flatten_await_stmt(var_nest_node*, hash_set >*, hash_set >*, tree_node**= ) () #10 0x0000000000640252 in flatten_await_stmt(var_nest_node*, hash_set >*, hash_set >*, tree_node**= ) () #11 0x0000000000640262 in flatten_await_stmt(var_nest_node*, hash_set >*, hash_set >*, tree_node**= ) () #12 0x0000000000640252 in flatten_await_stmt(var_nest_node*, hash_set >*, hash_set >*, tree_node**= ) () #13 0x0000000000640252 in flatten_await_stmt(var_nest_node*, hash_set >*, hash_set >*, tree_node**= ) () #14 0x0000000000640252 in flatten_await_stmt(var_nest_node*, hash_set >*, hash_set >*, tree_node**= ) () #15 0x000000000064116f in await_statement_walker(tree_node**, int*, void*) = () #16 0x00000000012fb259 in walk_tree_1(tree_node**, tree_node* (*)(tree_node= **, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) () #17 0x000000000064094e in await_statement_walker(tree_node**, int*, void*) = () #18 0x00000000012fb259 in walk_tree_1(tree_node**, tree_node* (*)(tree_node= **, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) () #19 0x0000000000640904 in await_statement_walker(tree_node**, int*, void*) = () #20 0x00000000012fb259 in walk_tree_1(tree_node**, tree_node* (*)(tree_node= **, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) () #21 0x000000000064094e in await_statement_walker(tree_node**, int*, void*) = () #22 0x00000000012fb259 in walk_tree_1(tree_node**, tree_node* (*)(tree_node= **, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) () #23 0x00000000012fb3da in walk_tree_1(tree_node**, tree_node* (*)(tree_node= **, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) () #24 0x000000000064094e in await_statement_walker(tree_node**, int*, void*) = () #25 0x00000000012fb259 in walk_tree_1(tree_node**, tree_node* (*)(tree_node= **, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) () #26 0x0000000000640904 in await_statement_walker(tree_node**, int*, void*) = () #27 0x00000000012fb259 in walk_tree_1(tree_node**, tree_node* (*)(tree_node= **, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) () #28 0x000000000063d33b in morph_fn_to_coro(tree_node*, tree_node**, tree_node**) () #29 0x0000000000655a90 in finish_function(bool) [clone .cold] () #30 0x00000000010a3210 in cp_parser_function_definition_after_declarator(cp_parser*, bool) () #31 0x00000000006a46b4 in cp_parser_init_declarator(cp_parser*, int, cp_decl_specifier_seq*, vec*, bool, bool, int, bool*, tree_node**, unsigned int*, tree_node**) [clone .cold] () #32 0x00000000010937dc in cp_parser_simple_declaration(cp_parser*, bool, tree_node**) () #33 0x00000000006a1966 in cp_parser_declaration(cp_parser*, tree_node*) [cl= one .cold] () #34 0x00000000014578dc in c_parse_file() () #35 0x0000000001488094 in c_common_parse_file() () #36 0x0000000001525c41 in compile_file() () #37 0x000000000103ba92 in toplev::main(int, char**) () #38 0x000000000103cc23 in main ()=