On 30/11/2022 15:37, Jakub Jelinek wrote: > On Wed, Nov 30, 2022 at 03:17:30PM +0000, Andrew Stubbs wrote: >> --- /dev/null >> +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-16.c >> @@ -0,0 +1,89 @@ >> +/* { dg-require-effective-target vect_simd_clones } */ >> +/* { dg-additional-options "-fopenmp-simd -fdump-tree-optimized" } */ >> +/* { dg-additional-options "-mavx" { target avx_runtime } } */ > ... >> +/* Ensure the the in-branch simd clones are used on targets that support >> + them. These counts include all call and definitions. */ >> + >> +/* { dg-skip-if "" { x86_64-*-* } { "-flto" } { "" } } */ > > Maybe better add -ffat-lto-objects to dg-additional-options and drop > the dg-skip-if (if it works with that, for all similar tests)? The tests are already run with -ffat-lto-objects and the test still fails (pattern found zero times). I don't know why. Aside from that, I've made all the other changes you requested. OK now? Andrew