branch-protection=pac-ret is not supported on ilp32 now and the test requires it via branch-protection=standard.
committed as obvious. gcc/testsuite/ChangeLog: PR target/94697 * gcc.target/aarch64/pr94697.c: Require lp64. --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/aarch64/pr94697.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5a85af479c8..8b23374c591 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-04-27 Szabolcs Nagy <szabolcs.n...@arm.com> + + PR target/94697 + * gcc.target/aarch64/pr94697.c: Require lp64. + 2020-04-27 Jakub Jelinek <ja...@redhat.com> PR c/94755 diff --git a/gcc/testsuite/gcc.target/aarch64/pr94697.c b/gcc/testsuite/gcc.target/aarch64/pr94697.c index e6069d22ece..fcc9ab87f15 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr94697.c +++ b/gcc/testsuite/gcc.target/aarch64/pr94697.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target lp64 } */ /* { dg-options "-O2 -mbranch-protection=standard" } */ /* { dg-final { check-function-bodies "**" "" } } */ -- 2.17.1