On Mon, Apr 03, 2017 at 10:56:50AM -0500, Pat Haugen wrote: > On 03/31/2017 06:28 PM, Kelvin Nilsen wrote: > > +! { dg-do compile { target { powerpc*-*-* } } } > > +! { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { > > "-mcpu=power9" } } > > Shouldn't it be -mcpu=405 in the exclude string since that's what's > specified below? > > > +! { dg-require-effective-target powerpc_p9vector_ok } > > +! { dg-options "-m32 -mcpu=405 -mpower9-minmax -mfloat128-type" } > > -m32 is invalid for LE, so the test should be skipped for powerpc64le.
Or instead of setting -m32, just test for it? Segher