From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C74553858011; Fri, 26 Aug 2022 17:55:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C74553858011 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661536514; bh=Wx3nDtMzwNfnlillp8LUUKv6K73fPwmBiJNA3eheGNs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Yypqpn7ak6AVG1QhSx3WIhNHKNDpL5taZpsUVF/p+YAAk0dsq9ps7459sedakjhOb WCcYIDnWMCOH/ATipKKr5p3YqBgi9bDfYQo6IS8JiZi7FXU49JkqDc3TB5qJYTmZxI UxdQazC4tI386CT+Pu6Eg4D2oK9aJRvf0S+YP7vw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106753] Give -Wunused-value warning for user-defined literal expressions with discarded result Date: Fri, 26 Aug 2022 17:55:14 +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.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity 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=3D106753 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #1 from Andrew Pinski --- >but that seems disgusting.=20 You know if it works, someone will do it, especially with C++ code.=