On Thu, Feb 13, 2020 at 04:41:09PM -0600, will schmidt wrote: > Attempting to clean up some more testcase failures. > This test in particular exercises the -ftree-vectorize > option, and by inspection I see this fails out with assorted > "conversion not supported by target" messages on power7 and > earlier systems. > > Thus, this would limits the scan-dump check of "LOOP VECTORIZED" to > those targets supporting power8 vector support. > The testcase itself otherwise runs fine, so limiting the test > itself seems unnecessary.
> -/* { dg-final { scan-tree-dump-times "LOOP VECTORIZED" 14 "vect" } } */ > +/* { dg-final { scan-tree-dump-times "LOOP VECTORIZED" 14 "vect" { target > p8vector_hw } } } */ That actually checks if the hardware is p8 or later, while what you care about is what options are compiled with. Say, if running on a p8 but compiling for a p7 this will fail? Segher