From 744b3e4478df83f54543964b8eb7250eb9bb6d40 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 23 Apr 2020 11:26:10 +0100 Subject: [PATCH] aarch64: disable tests on ilp32 [PR94514] branch-protection=pac-ret is only supported with lp64 abi. gcc/testsuite/ChangeLog: PR target/94514 * g++.target/aarch64/pr94514.C: Require lp64. * gcc.target/aarch64/pr94514.c: Likewise. --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.target/aarch64/pr94514.C | 1 + gcc/testsuite/gcc.target/aarch64/pr94514.c | 1 + 3 files changed, 8 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 245c1512c76..7e676f053a5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2020-04-23 Szabolcs Nagy + + PR target/94514 + * g++.target/aarch64/pr94514.C: Require lp64. + * gcc.target/aarch64/pr94514.c: Likewise. + 2020-04-23 Jakub Jelinek PR target/94707 diff --git a/gcc/testsuite/g++.target/aarch64/pr94514.C b/gcc/testsuite/g++.target/aarch64/pr94514.C index 2a8c949ba30..ae925cafeb6 100644 --- a/gcc/testsuite/g++.target/aarch64/pr94514.C +++ b/gcc/testsuite/g++.target/aarch64/pr94514.C @@ -1,5 +1,6 @@ /* PR target/94514. Unwind across mixed pac-ret and non-pac-ret frames. */ /* { dg-do run } */ +/* { dg-require-effective-target lp64 } */ __attribute__((noinline, target("branch-protection=pac-ret"))) static void do_throw (void) diff --git a/gcc/testsuite/gcc.target/aarch64/pr94514.c b/gcc/testsuite/gcc.target/aarch64/pr94514.c index bbbf5a6b0b3..cbc940421d2 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr94514.c +++ b/gcc/testsuite/gcc.target/aarch64/pr94514.c @@ -1,5 +1,6 @@ /* PR target/94514. Unwind across mixed pac-ret and non-pac-ret frames. */ /* { dg-do run } */ +/* { dg-require-effective-target lp64 } */ /* { dg-options "-fexceptions -O2" } */ #include -- 2.30.2