From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 61858384BC30; Thu, 4 Mar 2021 09:20:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61858384BC30 From: "boris at kolpackov dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/98760] [modules] ICE in add_module_decl Date: Thu, 04 Mar 2021 09:20:57 +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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: boris at kolpackov dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan 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: Thu, 04 Mar 2021 09:20:57 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98760 --- Comment #2 from Boris Kolpackov --- This still reproduces as of 11.0.1 20210304 (f3641ac70e) though the location has changed: hello.cxx:18:25: internal compiler error: in lookup_mark, at cp/tree.c:2403 18 | o << format_hello (n) << std::endl; | ^ 0xde6459 lookup_mark(tree_node*, bool) ../../gcc/gcc/cp/tree.c:2403 0xc5fb19 name_lookup::search_adl(tree_node*, vec*) ../../gcc/gcc/cp/name-lookup.c:1640 0xc5fff5 lookup_arg_dependent(tree_node*, tree_node*, vec*) ../../gcc/gcc/cp/name-lookup.c:1740 0xdadd38 perform_koenig_lookup(cp_expr, vec*, = int) ../../gcc/gcc/cp/semantics.c:2507 0xc92a1f cp_parser_postfix_expression ../../gcc/gcc/cp/parser.c:7658 0xc954c2 cp_parser_unary_expression ../../gcc/gcc/cp/parser.c:8818 0xc96bff cp_parser_cast_expression ../../gcc/gcc/cp/parser.c:9722 0xcc3a2c cp_parser_simple_cast_expression ../../gcc/gcc/cp/parser.c:30544 0xc9700f cp_parser_binary_expression ../../gcc/gcc/cp/parser.c:9890 0xc97c01 cp_parser_assignment_expression ../../gcc/gcc/cp/parser.c:10128 0xc97f6f cp_parser_expression ../../gcc/gcc/cp/parser.c:10298 0xc9be7c cp_parser_expression_statement ../../gcc/gcc/cp/parser.c:12012 0xc9b76a cp_parser_statement ../../gcc/gcc/cp/parser.c:11808 0xc9c42e cp_parser_statement_seq_opt ../../gcc/gcc/cp/parser.c:12159 0xc9c2fe cp_parser_compound_statement ../../gcc/gcc/cp/parser.c:12109 0xcb5719 cp_parser_function_body ../../gcc/gcc/cp/parser.c:24029 0xcb5a4c cp_parser_ctor_initializer_opt_and_function_body ../../gcc/gcc/cp/parser.c:24080 0xcc228e cp_parser_function_definition_after_declarator ../../gcc/gcc/cp/parser.c:29997 0xcc20a6 cp_parser_function_definition_from_specifiers_and_declarator ../../gcc/gcc/cp/parser.c:29913 0xcb0156 cp_parser_init_declarator ../../gcc/gcc/cp/parser.c:21602=