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.
+2020-04-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ PR target/94514
+ * g++.target/aarch64/pr94514.C: Require lp64.
+ * gcc.target/aarch64/pr94514.c: Likewise.
+
2020-04-23 Jakub Jelinek <jakub@redhat.com>
PR target/94707
/* 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)
/* 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 <unwind.h>