From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 099423857709; Tue, 31 Oct 2023 16:41:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 099423857709 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698770490; bh=9GPJUaHYqAyTiqqtcvW2KjA0wEeZ2ozTckKpntIUJPE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qRxMGq/uizk+mVfuBAEgwddD/ogmY468fUZG8PF4yoktBHiQBuxzIe72xPDgUpbQu WHfgEd1lBdmN4CKwTf3J9+7Ml+b12WY0BVPcOvqtSlLTJB6IW94IkqUuymghFcn9RJ k776XjcDjQoblvF0LUx4nvJp2zLYaJ1E22CNDPcM= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112318] Deprecated move ctor does not trigger -Wdeprecated-declarations when creating a std::optional Date: Tue, 31 Oct 2023 16:41:29 +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.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: component 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=3D112318 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libstdc++ |c++ --- Comment #1 from Andrew Pinski --- -Wsystem-headers enables the warning. Front-end issue ...=