[PATCH] [PR testsuite/81010] Fix PPC test
Segher Boessenkool
segher@kernel.crashing.org
Wed Jan 31 18:22:00 GMT 2018
On Mon, Jan 29, 2018 at 09:41:12PM -0700, Jeff Law wrote:
> On 01/07/2018 10:09 AM, Segher Boessenkool wrote:
> >> --- a/gcc/testsuite/gcc.target/powerpc/pr56605.c
> >> +++ b/gcc/testsuite/gcc.target/powerpc/pr56605.c
> >> @@ -1,7 +1,7 @@
> >> /* PR rtl-optimization/56605 */
> >> -/* { dg-do compile { target { powerpc64-*-* && lp64 } } } */
> >> +/* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */
> >
> > You could as well do powerpc*-*-* afaics?
> I guess, but I suspect the lp64 test would prevent it from running on
> the 32bit configurations anyway. And we probably are reliant on 64bits
> to expose the problematical conversions that we weren't handling well
> which led to 56605.
The point is that the target triple does not say if you are compiling
for 32-bit or 64-bit. biarch...
> I'll do a bit of sniff testing around the suggestions you've made and
> commit something reasonable :-)
Thanks :-)
Segher
More information about the Gcc-patches
mailing list