Debian Codegraph @

gcc/testsuite/gcc.dg/gomp/dump-new-function-3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-parallelize-loops=2 -fdump-tree-gimple" } */
3
4 void
5 foo (int *__restrict a, int *__restrict b, int *__restrict c)
6 {
7 int i;
8 for (i = 0; i < 1000; ++i)
9 c[i] = a[i] + b[i];
10 }
11
12 /* Check that new function does not end up in gimple dump. */
13 /* { dg-final { scan-tree-dump-not "foo\\.\[\\\$_\]loopfn\\.0" "gimple" } } */