Debian Codegraph @

gcc/testsuite/gcc.dg/gomp/pr87895-3.c

raw
1 /* PR tree-optimization/87895 */
2 /* { dg-do compile } */
3 /* { dg-additional-options "-O2" } */
4
5 #pragma omp declare simd
6 int foo (int x) __attribute__((noreturn));
7
8 #pragma omp declare simd
9 int
10 bar (int x, int y)
11 {
12 if (y == 1)
13 foo (x + 2);
14 if (y == 10)
15 foo (x + 6);
16 if (y != 25)
17 return 4;
18 }