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

--- Comment #7 from Steve Ellcey <sje at gcc dot gnu.org> ---
I tested the patch on my aarch64 box, I got three regressions:

FAIL: gcc.target/aarch64/pr78733.c scan-assembler adr
FAIL: gcc.target/aarch64/pr79041-2.c scan-assembler adr
FAIL: gfortran.fortran-torture/compile/pr83081.f90,  -O3 -g   (internal
compiler error)

pr83081.f90 looks like a new test so it may not actually be a regression
related to this patch, but the first two are.  pr79041-2 generates:

t:
        mov     x0, 0
        mov     x1, 65536
        ret

with the patch rather than:

t:
        adr     x0, .LC0
        ldp     x0, x1, [x0]
        ret
        .size   t, .-t
        .align  4
.LC0:
        .xword  0
        .xword  65536

Reply via email to