From: Szabolcs Nagy Date: Thu, 23 Apr 2020 10:26:10 +0000 (+0100) Subject: aarch64: disable tests on ilp32 [PR94514] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=744b3e4478df83f54543964b8eb7250eb9bb6d40;p=gcc.git 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. --- 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