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