(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
vect/
vect-profile-1.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target vect_int } */
       3  /* { dg-additional-options "-fdump-tree-vect-details-blocks -fdisable-tree-cunrolli" } */
       4  
       5  /* At least one of these should correspond to a full vector.  */
       6  
       7  void
       8  f1 (int *x)
       9  {
      10    for (int j = 0; j < 2; ++j)
      11      x[j] += 1;
      12  }
      13  
      14  void
      15  f2 (int *x)
      16  {
      17    for (int j = 0; j < 4; ++j)
      18      x[j] += 1;
      19  }
      20  
      21  void
      22  f3 (int *x)
      23  {
      24    for (int j = 0; j < 8; ++j)
      25      x[j] += 1;
      26  }
      27  
      28  void
      29  f4 (int *x)
      30  {
      31    for (int j = 0; j < 16; ++j)
      32      x[j] += 1;
      33  }
      34  
      35  /* { dg-final { scan-tree-dump {goto <bb [0-9]+>; \[0+.0*%\]} vect } } */