Add dg-require to existing pr93122.c test Hi, This test (gcc.target/powerpc/pr93122.c) uses the -mcpu=future option. It should also ensure the target can support the same. Thus, add a dg-requires clause to indicate a future target is supported on the platform.
Sniff tested successfully. (mostly obvious). OK for master? Thanks -Will 2020-03-03 Will Schmidt <will_schm...@vnet.ibm.com> testsuite/ * gcc.target/powerpc/pr93122.c: Add dg-require. diff --git a/gcc/testsuite/gcc.target/powerpc/pr93122.c b/gcc/testsuite/gcc.target/powerpc/pr93122.c index 701711a..a440a05 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr93122.c +++ b/gcc/testsuite/gcc.target/powerpc/pr93122.c @@ -1,6 +1,7 @@ /* PR target/93122 */ +/* { dg-require-effective-target powerpc_future_ok } */ /* { dg-do compile { target lp64 } } */ /* { dg-options "-fstack-clash-protection -mprefixed -mfuture" } */ void bar (char *);