From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CE9DF3857B88; Tue, 18 Oct 2022 13:15:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE9DF3857B88 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666098941; bh=eGkIr/fw7eWrmTCpv2q491TZBc1CFe13NDIgdtzRCfI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CNjeS9V398EB7QD36vOc9XPPmroqzyQxtwrDskCZblnah7RLqDLw2ilVQX41Ap9hv JWt/+tzcgIx8GDpbc6nwcyi6T65USWW/gc74igdYMA8L181CUiB3/DoWTxD/Jz+8VP gFNKSqm45txG4uIJhsShx68ChyIuqHnPif08d1BY= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85043] -Wuseless-cast false positive for temporary objects; add separate -Wcast-to-the-same-type to cover that case instead Date: Tue, 18 Oct 2022 13:15:41 +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: 7.3.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D85043 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prokofjev.d at gmail dot c= om --- Comment #13 from Marek Polacek --- *** Bug 90201 has been marked as a duplicate of this bug. ***=