From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B9A373858C42; Thu, 11 Jan 2024 22:38:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9A373858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705012732; bh=cvPRmN1dMhRMISckKwhzx0rLI8lF3vgGu1EE9CAvvRc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=I8ewEyp4Tw3RBT5Y5gcyzbG1rFWn6iMZSCJHbfCC+bJR8XFotr42Xm4Cnuye02Axx ryJYl5THQFEdrGXq1BgZETIUEgaBV0CEHzIgiX9kMXHEJFGi1hrG/Ym5M+oTAhrwJl DfqxZMMfPTusNdEL/48o8SWW64XLpJPuXd2HdvoE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113341] Using GCC as the bootstrap compiler breaks LLVM on 32-bit PowerPC Date: Thu, 11 Jan 2024 22:38:13 +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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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=3D113341 --- Comment #7 from Andrew Pinski --- `-fno-lifetime-dse` is already used but I get the feeling there might be st= rict aliasing issues in the code though. What happens if you add -fno-strict-aliasing ? This code gives me strict aliasing violation vibes: ``` T **getAddressOfPointer(ExternalASTSource *Source) const { // Ensure the integer is in pointer form. (void)get(Source); return reinterpret_cast(&Ptr); } ```=