From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D2C883858D37; Wed, 5 Oct 2022 06:43:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2C883858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664952196; bh=0pHJghXHoie28ivk1pxZcqk/qNde7KNZUIMJFOEBULA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=esgB0Lssga5VLn+qHhhYFnt47KaHF3YXe1PygTAefV9ax7RFO71mR8+eVIykYmdVH hyBnhxqA+s3KcGf2a+vGViX8CaLxIeMKdj0VD2+Utqrkwk+eHRITtmc+eC+udIIRXn aRQX6YT+/uQ9quKFlN2WPh/LaVAmbj5IEhUULf2g= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast Date: Wed, 05 Oct 2022 06:43:15 +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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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=3D107085 --- Comment #8 from Jonathan Wakely --- (In reply to Marek Polacek from comment #6) > where we bind 'b' to the Base subobject of a temporary Derived object, ye= s? Yes, exactly right.=