From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C3C863858433; Tue, 30 May 2023 03:49:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3C863858433 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685418587; bh=TSPZART3S6JZhhspkA8v/6lrAGuNNDZHt7pmbPE99Ok=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RQXH1drZjlaFPAHmQoTSOXxCqMiB1FJjc7z1ciCZpt79egpTALFFU7csLNuKn1ESp XRiBkvMmy1gybgJjAtQ8mbUinLDY8I6zq7/eZQBYE9XSVKO4mVHazD7flKI6gWt4t3 aBCKiOUJ4xHAlzos2Bs+C9Vr2k7n7UNx/65AC11Q= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110031] [10/11/12/13/14 Regression] ICE with deprecated attribute and NTTP and diagnostic for deprecated printed out so much Date: Tue, 30 May 2023 03:49:47 +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: 12.1.0 X-Bugzilla-Keywords: diagnostic, ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed target_milestone cf_reconfirmed_on cf_known_to_work short_desc keywords bug_status cf_known_to_fail 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=3D110031 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Target Milestone|--- |10.5 Last reconfirmed| |2023-05-30 Known to work| |7.1.0 Summary|ICE: error reporting |[10/11/12/13/14 Regression] |routines re-entered on |ICE with deprecated |non-type template argument |attribute and NTTP and |and C++20+ |diagnostic for deprecated | |printed out so much Keywords| |diagnostic, ice-checking Status|UNCONFIRMED |NEW Known to fail| |8.1.0 --- Comment #2 from Andrew Pinski --- Better testcase which fails with -std=3Dc++17 even earlier than GCC 8. ``` template [[deprecated]]=20 inline constexpr bool t =3D true ; template struct enableif; template<> struct enableif { using y =3D int; }; template using enableif_t =3D typename enableif::y; template > =3D 0> struct A { A(T &&) { }}; template struct A { A(T &&) =3D delete; A() =3D delete; }; int main(void) { A a(5.3); return 0; } ```=