From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 792FB3861815; Tue, 29 Sep 2020 23:24:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 792FB3861815 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96968] aarch64 : ICE in vregs or expand pass, lowering __builtin_aarch64_get_{fpcr,fpsr,fpcr64,fpsr64} Date: Tue, 29 Sep 2020 23:24:27 +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: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: akrl 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 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: Tue, 29 Sep 2020 23:24:27 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96968 --- Comment #9 from Iain Sandoe --- (In reply to Andrea Corallo from comment #8) > "iains at gcc dot gnu.org via Gcc-bugs" writes: > [...] > > unfortunately, I've not been able to test since you applied this - curr= ently > > bootstrap is broken on aarch64-darwin for reasons outside our control (= new > > security provisions stopping the gcc/build/gen* programs from running).= If it > > could stay open for a few more days, while we try to find a fix for tha= t - (or > > close it and we can reopen if needed). >=20 > Sure no rush, thanks for testing it! I managed to do a manual build on arm64-darwin, and the ICE is gone. Not s= ure if the flags are supported by the hardware but that's a different issue. F= ine to close this from my pov. We get this for the simple test-case (mach-o/darwin format object): .arch armv8-a .text .align 2 .globl _main _main: LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 mrs x0, fpcr str w0, [sp, 12] mov w0, 0 add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc LFE0: .ident "GCC: (GNU) 11.0.0 20200929 (experimental)" .subsections_via_symbols=