From: Duan bo Date: Wed, 22 Apr 2020 17:29:30 +0000 (+0100) Subject: aarch64: Adjust some testcases for ilp32 option conflict [PR94712] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=545f1addf7247a800bbb943650efaa4c35d3bd1d;p=gcc.git 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 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. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index acd8b1ae133..72cc7665ed4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2020-04-22 Duan bo + + 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 PR target/94678 diff --git a/gcc/testsuite/gcc.target/aarch64/pr63304_1.c b/gcc/testsuite/gcc.target/aarch64/pr63304_1.c index 99b155269aa..9f1ed947806 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr63304_1.c +++ b/gcc/testsuite/gcc.target/aarch64/pr63304_1.c @@ -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") diff --git a/gcc/testsuite/gcc.target/aarch64/pr70120-2.c b/gcc/testsuite/gcc.target/aarch64/pr70120-2.c index 0110224754b..663bf2ed147 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr70120-2.c +++ b/gcc/testsuite/gcc.target/aarch64/pr70120-2.c @@ -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))); diff --git a/gcc/testsuite/gcc.target/aarch64/pr94530.c b/gcc/testsuite/gcc.target/aarch64/pr94530.c index 1f98201c50a..2797d116dcf 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr94530.c +++ b/gcc/testsuite/gcc.target/aarch64/pr94530.c @@ -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 *); diff --git a/gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c b/gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c index c2b5464fb44..7b1982abb61 100644 --- a/gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c +++ b/gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c @@ -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" } { "" } } */