Hi All, The test options_set_10.c shouldn't run when cross compiled. In addition to gating it on linux I'm also gating it on native now.
Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. Cross compiled and regtested on aarch64-none-linux-gnu and no issues. Committed under the GCC obvious rules. Thanks, Tamar gcc/testsuite/ChangeLog: 2019-03-04 Tamar Christina <tamar.christ...@arm.com> PR target/88530 * gcc.target/aarch64/options_set_10.c: --
diff --git a/gcc/testsuite/gcc.target/aarch64/options_set_10.c b/gcc/testsuite/gcc.target/aarch64/options_set_10.c index 5ffe83c199165dd4129814674297056bdf27cd83..1fc8aa86fd6ef7a7a8f502be149f07514091eccd 100644 --- a/gcc/testsuite/gcc.target/aarch64/options_set_10.c +++ b/gcc/testsuite/gcc.target/aarch64/options_set_10.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target "aarch64*-*-linux*" } } */ +/* { dg-do compile { target { { aarch64*-*-linux*} && native } } } */ /* { dg-additional-options "-mcpu=native" } */ int main ()