From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3294E3858D35; Sun, 2 Jul 2023 00:05:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3294E3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688256321; bh=xKHNeLWHrOfYtlNT0ek/nCANvsWwO7JiuJ0ONnkLDDE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JWJA9yMl+1eoyrcoS9kFMZamJb2vYVWta6mJo6jxr5MbpdooopPBNMwSG0ew1loxo enIBkTa91CY+zTSHNDix3Dhpw6t7sI15KDyztJHJcqbX2qDDz4FatnLDiK5gt2paXY qQCzU4ri54vVDrFQLqdGtbAyu8zBVHerTmgQv9m0= From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/51066] [C++0x] warning about binding an rvalue-reference to an implicit conversion result Date: Sun, 02 Jul 2023 00:05:19 +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: 4.7.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager 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: 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=3D51066 --- Comment #5 from Eric Gallager --- (In reply to Jonathan Wakely from comment #3) > This warning would also help with this horror: > https://twitter.com/zygoloid/status/1367301323838812160 (In reply to Jonathan Wakely from comment #4) > And this one https://twitter.com/wakomeup/status/1274778577087627267 Archive links for these:=20 http://web.archive.org/web/20220327011407/https://twitter.com/zygoloid/stat= us/1367301323838812160 http://web.archive.org/web/20200621190630/https://twitter.com/wakomeup/stat= us/1274778577087627267=