aarch64: ilp32 testsuite fixes
authorAlex Coplan <alex.coplan@arm.com>
Fri, 2 Oct 2020 10:16:31 +0000 (11:16 +0100)
committerAlex Coplan <alex.coplan@arm.com>
Fri, 2 Oct 2020 10:17:00 +0000 (11:17 +0100)
commit01c288035aa960631dd0ffd9131ed0a824a95f30
tree55f50f82032d5b5355dd993c95d33a7e6f5452c4
parentf8dcbea5d2fb17dca3a7de97f15fc49997222365
aarch64: ilp32 testsuite fixes

This fixes test failures on ilp32 introduced in
r11-3032-gd4febc75e8dfab23bd3132d5747eded918f85107.

The assembler checks in extend-syntax.c simply needed adjusting for
32-bit pointers.

It appears the subsp.c test has never passed on ILP32 due to a missed
optimisation there. Since this isn't a code quality regression, disable
that check on ILP32.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/extend-syntax.c: Fix assembler checks for
ilp32, disable check-function-bodies on ilp32.
* gcc.target/aarch64/subsp.c: Only check second scan-assembler
on lp64 since the code on ilp32 is missing the optimization
needed for this test to pass.
gcc/testsuite/gcc.target/aarch64/extend-syntax.c
gcc/testsuite/gcc.target/aarch64/subsp.c