[Committed, AArch64] Disable tests for ilp32.
authorSudakshina Das <sudi.das@arm.com>
Thu, 10 Jan 2019 17:29:54 +0000 (17:29 +0000)
committerSudakshina Das <sudi@gcc.gnu.org>
Thu, 10 Jan 2019 17:29:54 +0000 (17:29 +0000)
Currently Return Address Signing is only supported in lp64. Thus the
tests that I added recently (that enables return address signing by the
mbranch-protection=standard option), should also be exempted from testing in
ilp32. This patch adds the needed dg-require-effective-target directive in the
tests.

*** gcc/testsuite/ChangeLog ***

2019-01-10  Sudakshina Das  <sudi.das@arm.com>

* gcc.target/aarch64/bti-1.c: Exempt for ilp32.
* gcc.target/aarch64/bti-2.c: Likewise.
* gcc.target/aarch64/bti-3.c: Likewise.

Committed as obvious.

From-SVN: r267818

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/bti-1.c
gcc/testsuite/gcc.target/aarch64/bti-2.c
gcc/testsuite/gcc.target/aarch64/bti-3.c

index 3936a8f4bce77f26a037cac75d70e6eaaa374217..6ac91eede53c3f7a3dabe20a5b43e7303f42d270 100644 (file)
@@ -1,3 +1,9 @@
+2019-01-10  Sudakshina Das  <sudi.das@arm.com>
+
+       * gcc.target/aarch64/bti-1.c: Exempt for ilp32.
+       * gcc.target/aarch64/bti-2.c: Likewise.
+       * gcc.target/aarch64/bti-3.c: Likewise.
+
 2019-01-10  Stefan Agner  <stefan@agner.ch>
 
        PR target/88648
index 67551859649f98541ac81ac24533a45b0c1afde2..a8c60412e310a4f322372f334ae5314f426d310e 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* -Os to create jump table.  */
 /* { dg-options "-Os" } */
+/* { dg-require-effective-target lp64 } */
 /* If configured with --enable-standard-branch-protection, don't use
    command line option.  */
 /* { dg-additional-options "-mbranch-protection=standard" { target { ! default_branch_protection } } } */
index 85943c3d6415b010c858cb948221e33b0d30a310..6ad89284e1b74ec92ff4661e6a71c92230450d58 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-require-effective-target aarch64_bti_hw } */
 /* If configured with --enable-standard-branch-protection, don't use
    command line option.  */
index 97cf5d37f42b9313da75481c2ceac884735ac995..9ff9f9d6be1d8708f34f50dc7303a1783c18f204 100644 (file)
@@ -1,6 +1,7 @@
 /* This is a copy of gcc/testsuite/gcc.c-torture/execute/pr56982.c to test the
    setjmp case of the bti pass.  */
 /* { dg-do run } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-require-effective-target aarch64_bti_hw } */
 /* { dg-options "--save-temps -mbranch-protection=standard" } */