From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2B7503858D1E; Fri, 13 Oct 2023 12:09:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2B7503858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697198949; bh=BhGh9mFf5YwdTxmB6gLOgtNgW4k7pYnEll8LRtSU8dI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ksaUxP4lbrV+T88HFUIBNE84nuT/BDFweasNGMYm+H2anTduAiTit16uwdK0Rp3YL 3P/kHPm16o6S9isx/s3oP4cPO9ExG6GkJlKdHNqMApNPQNTR4FWvP9qm35tP1XK1sT qSFMcecnvFesnHo3ItApakicx0vaN3WctXela7Po= From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3 Date: Fri, 13 Oct 2023 12:09:08 +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: linkw 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 #18 from Kewen Lin --- (In reply to Richard Biener from comment #17) > it stores to a different object - but seeing the CLOBBERs, does > -fstack-reuse=3Dnone fix the issue? Is r1 the stack pointer? Just tried with -fstack-reuse=3Dnone, it can make it pass! Yes, r1 is stack pointer. >=20 > ref-all is carried to RTL by MEM_ALIAS_SET =3D=3D 0. Got it, thanks!=