Hi Alan, On Tue, Aug 11, 2020 at 06:38:53PM +0930, Alan Modra wrote: > This fixes a fail when power10 isn't supported by binutils, and > ensures the test isn't run without power10 hardware or simulation on > the off chance that power10 insns are emitted in the future for this > testcase.
The testcases said it wanted power8, so why did it fail? GCC shouldn't use anything that requires p10 support in binutils then, or what do I miss here? Segher > --- a/gcc/testsuite/gcc.target/powerpc/pr96493.c > +++ b/gcc/testsuite/gcc.target/powerpc/pr96493.c > @@ -1,6 +1,8 @@ > -/* { dg-do run } */ > +/* { dg-do run { target { power10_hw } } } */ > +/* { dg-do link { target { ! power10_hw } } } */ > /* { dg-options "-mdejagnu-cpu=power8 -O2" } */ > /* { dg-require-effective-target powerpc_elfv2 } */ > +/* { dg-require-effective-target power10_ok } */ > > /* Test local calls between pcrel and non-pcrel code. >