aarch64: Adjust some testcases for ilp32 option conflict [PR94712]

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.
This commit is contained in:
Duan bo 2020-04-22 18:29:30 +01:00 committed by Richard Sandiford
parent 154ae7d4e9
commit 545f1addf7
5 changed files with 12 additions and 0 deletions

View 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

View 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")

View 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)));

View 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 *);

View 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" } { "" } } */