From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B14A53858D39; Tue, 24 Oct 2023 02:59:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B14A53858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698116398; bh=mNHfocbN4cHf7ngXpeABGKTxZ/iyJZec02zDOgIKrww=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Fe2KgMyi0hx/xhSinHNmM54hKIcZnnDSbobBxC5YXDEFH3buR8ZCVgyGNR5Cxf28p r1bjUhR+MhtP+6DKGbxdGgzevKJg8c1R5JzOVBIP+pSbgnE0q6u9klO8vQSSA/Ibu1 jE+fW2aCITJeK2v3Sa+imegfVKvPVmbiqvVL0s+8= From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3 Date: Tue, 24 Oct 2023 02:59:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth 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=3D111591 --- Comment #31 from Kewen Lin --- Thanks for the explanation from both of you! (In reply to Richard Biener from comment #30) > Created attachment 56175 [details] > prototype patch I confirmed that this fix can make test case (#c9 + #c10) and its reduced c= ase pass, but the original test case (#c1) can't pass with this, it can't pass = with -fstack-reuse=3Dnone + -fno-strict-aliasing + -O2 either, I think the origi= nal case still suffers another latent bug.=