From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4EF163858D37; Wed, 27 Dec 2023 19:55:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4EF163858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703706929; bh=/U7zPBLYYu4AnY8aO2w1I4JA1TNWbcGyRKq++i7hX7Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XrGrIpWsEAT4laHWejnqLNxnlebbkXT+2LfoWNqFh7jjAutaie8R75y1qtQsEv7wW /xkapLtDfAnYyTrak9vVuLcagX3w/riFAE59GgGeDKRLslxJzmp+VlSGSQG0t+4n5z FCpFDtP3ZrnCIVmifQ0jPsfr4bC26IL/F1SQSScU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113158] [11/12/13/14 Regression] Erroneous "looser exception specification" error for class template and depedent noexcept value Date: Wed, 27 Dec 2023 19:55:28 +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: 13.2.0 X-Bugzilla-Keywords: rejects-valid 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: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status everconfirmed cf_reconfirmed_on short_desc 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=3D113158 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2023-12-27 Summary|[11/12/13/14 Regression] |[11/12/13/14 Regression] |Erroneous "looser exception |Erroneous "looser exception |specification" error for |specification" error for |class template |class template and depedent | |noexcept value --- Comment #1 from Andrew Pinski --- Confirmed. Reduced testcase: ``` template struct V { static constexpr bool t =3D false; }; struct base { virtual int f() =3D 0; }; template struct derived : base { int f() noexcept(V::t) override; }; ```=