From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0FBD1385C6D9; Wed, 13 Dec 2023 08:00:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0FBD1385C6D9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702454425; bh=CGoMtxGDH0vmeNkrBHn5Gr1QgWQ6pUdxE0psAXq1FrQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XreP1y8i2lxh9ZwQL9GAPwF7MCrYLgi6rBbsYGLEfO2DMarfFIzTonqYrUiRLCf9q a/pk7OSnyGLUHydReGZ7DXJTmcBcq2hsTevocC5Ut+QumFEolUlIKnZTuQ5AiAZLhU YaJA0L8DM1jTIMla4XJKzuVDKIHat2DspHSu72cY= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3 Date: Wed, 13 Dec 2023 08:00:22 +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: cvs-commit 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 #33 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:97094d2ffd7d00261e6d7cc5d4a62dc7c2c89b64 commit r14-6481-g97094d2ffd7d00261e6d7cc5d4a62dc7c2c89b64 Author: Richard Biener Date: Wed Dec 13 08:54:49 2023 +0100 middle-end/111591 - explain why TBAA doesn't need adjustment While tidying the prototype patch I've done for the reduced testcase in PR111591 and in that process trying to produce a testcase that is miscompiled by stack slot coalescing and the TBAA info that remains un-altered I've realized we do not need to adjust TBAA info. The following documents this in the place we adjust points-to info which we do need to adjust. PR middle-end/111591 * cfgexpand.cc (update_alias_info_with_stack_vars): Document why not adjusting TBAA info on accesses is OK.=