From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DD74D3858C83; Thu, 1 Dec 2022 14:46:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD74D3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669906018; bh=8hP/vIt9BgonGUQKMRuZViEWcejxmeCJ7qh1COlk0p8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DRncAJvqWrt9IujIQInQsLlh+ykIcrEdsWXUsko17wEptkcCgXL0tajeCcL0wJRfZ DU+PVpCos0ZX4awLyO6Kw0Hx9Pgmb45eZOyIooAsQgp8loc2a+twL2VduBshKNQhuW pAH+6hSP5GUZDZ7bYJqV44XUnpx3O2VB/weu7tbA= From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107678] [13 Regression] Segfault in aarch64_fallback_frame_state when running SVE code Date: Thu, 01 Dec 2022 14:46:58 +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.0 X-Bugzilla-Keywords: EH, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wilco 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: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D107678 Wilco changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilco at gcc dot gnu.org --- Comment #5 from Wilco --- It's not related to SVE unwinding since adding +nosve still fails. The crash happens after reading the correct return address from the stack. However the top bits of this value get corrupted, resulting in an illegal access in aarch64_fallback_frame_state (it seems doing an unconditional read is a bad idea since at this point the RA may be corrupted).=