From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B3DA3858C3A; Mon, 27 Sep 2021 22:01:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B3DA3858C3A From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/102505] [10/11/12 Regression] ICE in verify_sra_access_forest, at tree-sra.c:2368 Date: Mon, 27 Sep 2021 22:01:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc cf_reconfirmed_on everconfirmed cf_gcctarget component target_milestone see_also bug_status keywords 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: Mon, 27 Sep 2021 22:01:14 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102505 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamborm at gcc dot gnu.org Last reconfirmed| |2021-09-27 Ever confirmed|0 |1 Target| |x86_64-*-* Component|c++ |tree-optimization Target Milestone|--- |10.4 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D93516, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D93667, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D93845, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D93776, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D94598, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D96730, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D96820, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D101626 Status|UNCONFIRMED |NEW Keywords| |ice-on-valid-code --- Comment #2 from Andrew Pinski --- Confirmed more reduced: struct D { int i; int pad alignas(16); }; struct B : virtual D { int j =3D84; int k =3D84; }; struct C: B { }; int main() { C c; if (c.j !=3D 84 || c.k !=3D 84) __builtin_abort(); } ---- CUT ---- Most likely r10-6276-g1d8593070a62b. What I don't get is why the ICE only happens on x86_64 and not on aarch64. = I moved over to using alignas instead of long double to be similar on both targets.=