From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 937623858402; Tue, 2 Nov 2021 11:15:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 937623858402 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/103040] gdc.dg/torture/pr101273.d FAILs Date: Tue, 02 Nov 2021 11:15:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 12.0 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2021 11:15:06 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103040 --- Comment #7 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #6) > One quite visible change is that D has those stmts that clear the vars > before it is constructed, so e.g. in main: > SR.11_24 =3D 0; > _12 =3D SR.11_24; > MEM [(unsigned char * {ref-all})&nrvo] =3D _12; > nrvo =3D nrvo101273 (); [return slot optimization] > instead of C++ > nrvo =3D nrvo101273 (); [return slot optimization] The "this" pointer in D constructors are a reference rather than a pointer, would that be enough to throw it off? Haven't gotten round to finishing build on a11c53985a7080f9bf6143788ccb455dc9b0da21 just yet to see.=