From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A0F5D3858C74; Fri, 19 Jan 2024 07:58:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A0F5D3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705651106; bh=dxubuTX7Rw2ohEczaFI27zjQ/185lyf24amLu3jhj0Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=y4OkbLX+u1gv5E6hubzGzOicyAk63eNKZSuTVR8DtDfxHFsjNBBFzochAt+2OVHuq AeMZs/zXX4ydFYoV5pQHq2rQaV4hjCnQRfs76Y/LIZQDzUzJDs1DXpuDceEPCCVRTL novjMoW5R4nHY+arGgrGnisRHTaXUVO5Xbj10CE8= From: "bobmiller at nvidia dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113498] ICE in GCC trunk: tree check: have using_decl in get_template_info, at cp/pt.cc:357 Date: Fri, 19 Jan 2024 07:58:26 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bobmiller at nvidia 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113498 --- Comment #2 from Bob Miller --- Apologies, I should have reduced this test case further before submission, = but I was under the mistaken impression that the template weirdness was the cau= se. I believe this is a minimized example: https://godbolt.org/z/s3vGEh4Wx template struct S_Base { static constexpr int D =3D d; }; template struct S : public S_Base { using S_Base::D; constexpr void f() const requires(D > 0) {} }; int main(int, char**) { S<1> s; s.f(); return 0; }=