Message ID | 8831ae95c306a729253ba28053525d2ee2918cd3.camel@vnet.ibm.com |
---|---|
State | New |
Headers | show |
Series | Add dg-require to existing powerpc/pr93122.c test | expand |
Hi! On Tue, Mar 03, 2020 at 09:42:10AM -0600, will schmidt wrote: > 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? Okay for trunk. Thanks! Segher
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 *);