From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5CC79389364F; Wed, 24 Feb 2021 08:43:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5CC79389364F From: "alexander.lelyakin at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99242] New: internal compiler error: in lookup_mark, at cp/tree.c:2403 Date: Wed, 24 Feb 2021 08:43:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alexander.lelyakin at googlemail dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Wed, 24 Feb 2021 08:43:08 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99242 Bug ID: 99242 Summary: internal compiler error: in lookup_mark, at cp/tree.c:2403 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexander.lelyakin at googlemail dot com Target Milestone: --- g++ -std=3Dc++20 -fmodules-ts -x c++-system-header ios g++ -std=3Dc++20 -fmodules-ts -x c++-system-header exception g++ -std=3Dc++20 -fmodules-ts -x c++-system-header list g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cstdlib g++ -std=3Dc++20 -fmodules-ts -x c++-system-header bit g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cinttypes g++ -std=3Dc++20 -fmodules-ts -x c++-system-header memory --------- In file included from /usr/local/include/c++/11.0.0/bits/ranges_uninitialized.h:36, from /usr/local/include/c++/11.0.0/memory:86: /usr/local/include/c++/11.0.0/bits/ranges_algobase.h: In function =E2=80=98= constexpr std::conditional_t<_IsMove, std::ranges::in_out_result<_Iter, _Out>, std::ranges::in_out_result<_Iter, _Out> > std::ranges::__copy_or_move(_Iter, _Sent, _Out)=E2=80=99: /usr/local/include/c++/11.0.0/bits/ranges_algobase.h:253:21: internal compi= ler error: in lookup_mark, at cp/tree.c:2403 253 | if (!std::is_constant_evaluated()) | ^~~~~~~~~~~~~~~~~~~~~ 0x73a27e lookup_mark(tree_node*, bool) ../../gcc/gcc/cp/tree.c:2403 0xa7cc7d name_lookup::search_namespace_only(tree_node*) ../../gcc/gcc/cp/name-lookup.c:955 0xa7cdba name_lookup::search_namespace(tree_node*) ../../gcc/gcc/cp/name-lookup.c:1013 0xa7cdba name_lookup::search_namespace(tree_node*) ../../gcc/gcc/cp/name-lookup.c:1006 0xa7d236 name_lookup::search_qualified(tree_node*, bool) ../../gcc/gcc/cp/name-lookup.c:1074 0xa7d236 name_lookup::search_qualified(tree_node*, bool) ../../gcc/gcc/cp/name-lookup.c:1066 0xa8162f qualified_namespace_lookup ../../gcc/gcc/cp/name-lookup.c:7225 0xa82648 lookup_qualified_name(tree_node*, tree_node*, LOOK_want, bool) ../../gcc/gcc/cp/name-lookup.c:7186 0xa8febc cp_parser_lookup_name ../../gcc/gcc/cp/parser.c:29199 0xab9777 cp_parser_class_name ../../gcc/gcc/cp/parser.c:24612 0xab9a79 cp_parser_type_name ../../gcc/gcc/cp/parser.c:19153 0xac6286 cp_parser_simple_type_specifier ../../gcc/gcc/cp/parser.c:18856 0xaae883 cp_parser_postfix_expression ../../gcc/gcc/cp/parser.c:7420 0xac4bd7 cp_parser_unary_expression ../../gcc/gcc/cp/parser.c:8736 0xa9884a cp_parser_binary_expression ../../gcc/gcc/cp/parser.c:9825 0xa9917c cp_parser_assignment_expression ../../gcc/gcc/cp/parser.c:10130 0xa9a6c2 cp_parser_expression ../../gcc/gcc/cp/parser.c:10298 0xac085a cp_parser_condition ../../gcc/gcc/cp/parser.c:12603 0xaa9968 cp_parser_selection_statement ../../gcc/gcc/cp/parser.c:12257 0xaa9968 cp_parser_statement ../../gcc/gcc/cp/parser.c:11623 ------ g++ (GCC) 11.0.0 20210223 (experimental)=