Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / notify-new-function-2.c
blobe9c893908c66621b50f171f3b4fab52a7d38c480
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fopenmp -fdump-tree-omplower" } */
4 void __attribute__((noinline))
5 baz (int *p)
9 void
10 foo (void)
12 int p[2];
13 p[0] = 1;
14 p[1] = 3;
15 #pragma omp task firstprivate (p)
16 baz (p);
19 /* Check for new function notification in omplower dump. */
20 /* { dg-final { scan-tree-dump-times "Added new high gimple function foo\\._omp_cpyfn\\.1 to callgraph" 1 "omplower" } } */