https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96968

--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Andrea Corallo from comment #8)
> "iains at gcc dot gnu.org via Gcc-bugs" <gcc-bugs@gcc.gnu.org> writes:
> [...]
> > unfortunately, I've not been able to test since you applied this - currently
> > 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 that - 
> > (or
> > close it and we can reopen if needed).
> 
> Sure no rush, thanks for testing it!

I managed to do a manual build on arm64-darwin, and the ICE is gone.  Not sure
if the flags are supported by the hardware but that's a different issue.  Fine
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

Reply via email to