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]; fn1()9int fn1() { 10 for (; g; g++) 11 if (a) 12 c[g] = b; 13 } 14 fn2()15int fn2() { 16 fn1(); 17 for (; h; h++) 18 d[h] = 0; 19 } 20