(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
gomp/
pr87895-1.c
       1  /* PR tree-optimization/87895 */
       2  /* { dg-do compile } */
       3  /* { dg-additional-options "-O0" } */
       4  
       5  #pragma omp declare simd
       6  int
       7  foo (int x)
       8  {
       9    if (x == 0)
      10      return 0;
      11  }
      12  
      13  #pragma omp declare simd
      14  int
      15  bar (int *x, int y)
      16  {
      17    if ((y == 0) ? (*x = 0) : *x)
      18      return 0;
      19  }
      20  /* { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target aarch64*-*-* } .-5 } */