]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr68766.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr68766.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize -fdbg-cnt=vect_loop:1" } */
3 /* { dg-additional-options "-mavx2" { target { i?86-*-* x86_64-*-* } } } */
4 /* { dg-prune-output "\\*\\*\\*dbgcnt:.*limit.*reached" } */
5
6 int a, b, g, h;
7 int c[58];
8 int d[58];
9 int fn1() {
10 for (; g; g++)
11 if (a)
12 c[g] = b;
13 }
14
15 int fn2() {
16 fn1();
17 for (; h; h++)
18 d[h] = 0;
19 }