From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A55303858002; Tue, 23 Mar 2021 17:08:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A55303858002 From: "alexander.lelyakin at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99734] New: [modules] ICE in most_specialized_instantiation Date: Tue, 23 Mar 2021 17:08:50 +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: Tue, 23 Mar 2021 17:08:50 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99734 Bug ID: 99734 Summary: [modules] ICE in most_specialized_instantiation 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: --- /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header system_er= ror /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header future ---- In file included from /usr/local/include/c++/11.0.1/bits/locale_classes.h:8= 57, from /usr/local/include/c++/11.0.1/bits/ios_base.h:41, from /usr/local/include/c++/11.0.1/ios:42, from /usr/local/include/c++/11.0.1/ostream:38, from /usr/local/include/c++/11.0.1/bits/unique_ptr.h:42, from /usr/local/include/c++/11.0.1/bits/shared_ptr_base.h:= 59, from /usr/local/include/c++/11.0.1/bits/shared_ptr.h:53, from /usr/local/include/c++/11.0.1/condition_variable:43, from /usr/local/include/c++/11.0.1/future:39: /usr/local/include/c++/11.0.1/bits/locale_classes.tcc:275:44: internal comp= iler error: in most_specialized_instantiation, at cp/pt.c:24830 275 | use_facet >(const locale&); | ^ 0x725070 most_specialized_instantiation(tree_node*) ../../gcc/gcc/cp/pt.c:24830 0xb2e1e9 determine_specialization ../../gcc/gcc/cp/pt.c:2457 0xb3418c determine_specialization ../../gcc/gcc/cp/pt.c:2156 0xb3418c check_explicit_specialization(tree_node*, tree_node*, int, int, tree_node*) ../../gcc/gcc/cp/pt.c:3121 0x9d481e grokfndecl ../../gcc/gcc/cp/decl.c:10064 0x9db1f3 grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*, decl_context, int, tree_node**) ../../gcc/gcc/cp/decl.c:13910 0xac82c1 cp_parser_explicit_instantiation ../../gcc/gcc/cp/parser.c:18240 0xad8840 cp_parser_declaration ../../gcc/gcc/cp/parser.c:14096 0xad80e9 cp_parser_toplevel_declaration ../../gcc/gcc/cp/parser.c:14159 0xad80e9 cp_parser_declaration_seq_opt ../../gcc/gcc/cp/parser.c:13947 0xad8582 cp_parser_namespace_body ../../gcc/gcc/cp/parser.c:20447 0xad8582 cp_parser_namespace_definition ../../gcc/gcc/cp/parser.c:20425 0xad8cd8 cp_parser_declaration ../../gcc/gcc/cp/parser.c:14110 0xad952c cp_parser_toplevel_declaration ../../gcc/gcc/cp/parser.c:14159 0xad952c cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4942 0xad952c c_parse_file() ../../gcc/gcc/cp/parser.c:45250 0xbfd51d c_common_parse_file() ../../gcc/gcc/c-family/c-opts.c:1218 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. ---- g++ (GCC) 11.0.1 20210323 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=