Value Range: Add range op for builtin isnormal
[official-gcc.git] / gcc / testsuite / c-c++-common / gomp / attrs-unroll-3.c
blob35dbf4fc159695e893cbd402641045cd96c16e0a
1 /* { dg-do compile { target { c || c++11 } } } */
2 /* { dg-additional-options "-std=c23" { target c } } */
3 /* { dg-additional-options "-O2 -fdump-tree-original -fdump-tree-gimple -fdump-tree-cunroll" } */
5 extern void dummy (int);
7 void
8 test1 (void)
10 [[omp::directive (unroll full)]]
11 for (int i = 0; i < 10; i++)
12 dummy (i);
15 /* Loop should be removed with 10 copies of the body remaining */
16 /* { dg-final { scan-tree-dump-times "dummy" 10 "cunroll" } } */
17 /* { dg-final { scan-tree-dump "#pragma omp unroll" "original" } } */
18 /* { dg-final { scan-tree-dump-not "#pragma omp" "gimple" } } */