aarch64: Adjust some testcases for ilp32 option conflict [PR94712]
authorDuan bo <duanbo3@huawei.com>
Wed, 22 Apr 2020 17:29:30 +0000 (18:29 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 22 Apr 2020 17:29:30 +0000 (18:29 +0100)
Since -mabi=ilp32 option is not compatible with large code model, Require
lp64 target for the following tests:
gcc.target/aarch64/pr63304_1.c
gcc.target/aarch64/pr70120-2.c
gcc.target/aarch64/pr94530.c
gcc.target/aarch64/reload-valid-spoff.c

2020-04-22  Duan bo  <duanbo3@huawei.com>

gcc/testsuite/
PR testsuite/94712
* gcc.target/aarch64/pr63304_1.c: Require lp64 target.
* gcc.target/aarch64/pr70120-2.c: Likewise.
* gcc.target/aarch64/pr94530.c: Likewise.
* gcc.target/aarch64/reload-valid-spoff.c: Likewise.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr63304_1.c
gcc/testsuite/gcc.target/aarch64/pr70120-2.c
gcc/testsuite/gcc.target/aarch64/pr94530.c
gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c

index acd8b1ae13385182c1b6efc4d265d853ac07bc9b..72cc7665ed4aa2ad1045d7165b78a644139207ce 100644 (file)
@@ -1,3 +1,11 @@
+2020-04-22  Duan bo  <duanbo3@huawei.com>
+
+       PR testsuite/94712
+       * gcc.target/aarch64/pr63304_1.c: Require lp64 target.
+       * gcc.target/aarch64/pr70120-2.c: Likewise.
+       * gcc.target/aarch64/pr94530.c: Likewise.
+       * gcc.target/aarch64/reload-valid-spoff.c: Likewise.
+
 2020-04-22  Felix Yang  <felix.yang@huawei.com>
 
        PR target/94678
index 99b155269aa8f5f828295007f72235d96577d0ef..9f1ed9478066d17f016d317c6ffaff1eac3f8228 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do assemble } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O1 --save-temps" } */
 #pragma GCC push_options
 #pragma GCC target ("+nothing+simd,cmodel=small")
index 0110224754be9f211c925331327a6029f050f96b..663bf2ed14766ec3ac8c4ef5e3081618d3bf722f 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-Og -freorder-functions -g3 -mcmodel=large" } */
 
 typedef short v32u16 __attribute__ ((vector_size (32)));
index 1f98201c50a816bae2d6e9b4de17b215141a4e98..2797d116dcf0aa48dbc8ee7f1cb2ee0b0805d9c5 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-Os -mcpu=falkor -mpc-relative-literal-loads -mcmodel=large" } */
 
 extern void bar(const char *);
index c2b5464fb445c7b39bc2982bab581f3b0e0c8044..7b1982abb61045017db75a3f01ae8dfc17e3ecc2 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2 -mcmodel=large -fno-builtin" }  */
 /* { dg-skip-if "-mcmodel=large -fPIC not currently supported" { aarch64-*-* }  { "-fPIC" } { "" } } */