From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8257F3858D28; Thu, 28 Mar 2024 20:22:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8257F3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711657345; bh=obnWvtYE8WljLES4yLODI+VBE0MkVYSKZ7Yjk3OMn9g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iwa3joSwuyaA2KAyKd1eJ1uDWAJBPfCGlN7WnCDe1UvYR+/vl414kYRnsE+axixjR Gk5YDhSlfrZpgH/fbNteE4zT2orY7Rz8D4tIo8uv3WVGntzxj61Hi6qUtPLn2DOH6Y 81U0wk3rY1lJAAsYKbtzxBxXLHREVmix328CC2xo= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114525] [11/12/13/14 Regression] Incorrect code generated when setting a value through a pointer-to-member on a ternary returning an object reference Date: Thu, 28 Mar 2024 20:22:24 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal 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: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_fail target_milestone short_desc cf_known_to_work 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=3D114525 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.4.7 Target Milestone|--- |11.5 Summary|Incorrect code generated |[11/12/13/14 Regression] |when setting a value |Incorrect code generated |through a pointer-to-member |when setting a value |on a ternary returning an |through a pointer-to-member |object reference |on a ternary returning an | |object reference Known to work| |4.1.2 --- Comment #2 from Andrew Pinski --- It actually worked in GCC 4.1.2.=