summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/simd-clones-4.c
blob: 893f44e690fb5f2f93546bc29e02b2a4ec106912 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-fopenmp" } */

#pragma omp declare simd simdlen(4) notinbranch
int f2 (int a, int b)
{
  if (a > 5)
    return a + b;
  else
    return a - b;
}