From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 13B1938708CF; Thu, 11 Mar 2021 08:09:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 13B1938708CF From: "alexander.lelyakin at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTk0ODRdIFttb2R1bGVzXSBJQ0Ugc2FtZSBjYW5v?= =?UTF-8?B?bmljYWwgdHlwZSBub2RlIGZvciBkaWZmZXJlbnQgdHlwZXMg4oCYdm9pZA==?= =?UTF-8?B?4oCZIGFuZCDigJhzdGQ6Ol9fdm9pZF90PF9PcDxfQXJncyAuLi4+ID7igJk=?= Date: Thu, 11 Mar 2021 08:09:41 +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: 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: 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, 11 Mar 2021 08:09:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99484 --- Comment #1 from Alexander Lelyakin --- In current version 20210310 I have seen another, but very similar error message: g++ -std=3Dc++20 -fmodules-ts -x c++-system-header memory_resource g++ -std=3Dc++20 -fmodules-ts -x c++-system-header thread g++ -std=3Dc++20 -fmodules-ts -x c++-system-header version g++ -std=3Dc++20 -fmodules-ts -x c++-system-header array g++ -std=3Dc++20 -fmodules-ts -x c++-system-header latch g++ -std=3Dc++20 -fmodules-ts -x c++-system-header syncstream g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cstddef g++ -std=3Dc++20 -fmodules-ts -x c++-system-header type_traits g++ -std=3Dc++20 -fmodules-ts -x c++-system-header list g++ -std=3Dc++20 -fmodules-ts -x c++-system-header unordered_map ---- In module /usr/local/include/c++/11.0.1/type_traits, imported at /usr/local/include/c++/11.0.1/unordered_map:38: /usr/local/include/c++/11.0.1/type_traits: In instantiation of =E2=80=98str= uct std::is_copy_assignable=E2=80=99: /usr/local/include/c++/11.0.1/type_traits:138:12: required from =E2=80=98= struct std::__and_, std::is_copy_assignable >=E2=80=99 /usr/local/include/c++/11.0.1/bits/stl_pair.h:390:7: required from =E2=80= =98struct std::pair=E2=80=99 /usr/local/include/c++/11.0.1/bits/hashtable_policy.h:577:5: required from here /usr/local/include/c++/11.0.1/type_traits:1057:12: internal compiler error: same canonical type node for different types =E2=80=98void=E2=80=99 and =E2= =80=98std::__void_t<_Tp&>=E2=80=99 1057 | struct is_copy_assignable | ^~~~~~~~~~~~~~~~~~ 0xb7f8dd comptypes(tree_node*, tree_node*, int) ../../gcc/gcc/cp/typeck.c:1554 0xae4bff template_args_equal(tree_node*, tree_node*, bool) ../../gcc/gcc/cp/pt.c:9207 0xae4758 template_args_equal(tree_node*, tree_node*, bool) ../../gcc/gcc/cp/pt.c:9170 0xae4758 comp_template_args(tree_node*, tree_node*, tree_node**, tree_node*= *, bool) ../../gcc/gcc/cp/pt.c:9254 0xae4758 comp_template_args(tree_node*, tree_node*, tree_node**, tree_node*= *, bool) ../../gcc/gcc/cp/pt.c:9234 0xaee073 spec_hasher::equal(spec_entry*, spec_entry*) ../../gcc/gcc/cp/pt.c:1725 0xb3400e hash_table::find_slot_with_hash(spec_entry* const&, unsigned int, insert_option) ../../gcc/gcc/hash-table.h:981 0xaf101b add_mergeable_specialization(bool, spec_entry*, tree_node*, unsign= ed int) ../../gcc/gcc/cp/pt.c:30018 0xa6ef5f trees_in::decl_value() ../../gcc/gcc/cp/module.cc:8068 0xa67017 trees_in::tree_node(bool) ../../gcc/gcc/cp/module.cc:9174 0xa6d66b module_state::read_cluster(unsigned int) ../../gcc/gcc/cp/module.cc:14858 0xa6db6d module_state::load_section(unsigned int, binding_slot*) ../../gcc/gcc/cp/module.cc:18129 0xa6dc2f module_state::lazy_load(unsigned int, binding_slot*) ../../gcc/gcc/cp/module.cc:18783 0xa70e67 lazy_load_pendings(tree_node*) ../../gcc/gcc/cp/module.cc:18876 0xb2045f lookup_template_class_1 ../../gcc/gcc/cp/pt.c:9799 0xb227f6 lookup_template_class(tree_node*, tree_node*, tree_node*, tree_nod= e*, int, int) ../../gcc/gcc/cp/pt.c:10237 0xb227f6 tsubst_aggr_type ../../gcc/gcc/cp/pt.c:13572 0xaf87ad tsubst_qualified_id ../../gcc/gcc/cp/pt.c:16365 0xafab79 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, boo= l, bool) ../../gcc/gcc/cp/pt.c:19865 0xb04508 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:19115 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 20210310 (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.=