From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8A7393857805; Fri, 12 Mar 2021 19:59:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A7393857805 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/99496] [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557 Date: Fri, 12 Mar 2021 19:59:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed 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: Fri, 12 Mar 2021 19:59:22 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99496 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2021-03-12 Ever confirmed|0 |1 --- Comment #11 from Nathan Sidwell --- With the spec hasher returning a constant zero: // pr99496_a.H template using __void_t =3D void; template struct __is_referenceable { }; template struct __is_referenceable<_Tp, __void_t<_Tp&>> { }; template::value> struct __is_copy_constructible_impl; // pr99496_b.C import "pr99496_a.H"; zathras:180>./cc1plus -quiet -fmodule-header pr99496_a.H && ./cc1plus -quiet -fmodules-ts pr99496_b.C -fno-module-lazy pr99496_b.C:3:22: internal compiler error: same canonical type node for different types 'void' and '__void_t<_Tp&>' 3 | import "pr99496_a.H"; | ^ 0xeb18c7 comptypes(tree_node*, tree_node*, int) ../../../src/gcc/cp/typeck.c:1554 0xdd03a8 template_args_equal(tree_node*, tree_node*, bool) ../../../src/gcc/cp/pt.c:9211 0xdd05ce comp_template_args(tree_node*, tree_node*, tree_node**, tree_node*= *, bool) ../../../src/gcc/cp/pt.c:9258 0xdb023c spec_hasher::equal(spec_entry*, spec_entry*) ../../../src/gcc/cp/pt.c:1725 0xe37e23 hash_table::find_slot_with_hash(spec_entry* const&, unsigned int, insert_option) ../../../src/gcc/hash-table.h:981 0xe35749 add_mergeable_specialization(bool, spec_entry*, tree_node*, unsign= ed int) ../../../src/gcc/cp/pt.c:30022 0xcce825 trees_in::decl_value() ../../../src/gcc/cp/module.cc:8064 0xcd3f61 trees_in::tree_node(bool) ../../../src/gcc/cp/module.cc:9170=