Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr68766.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line source
/* { 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 "dbg_cnt 'vect_loop' set to 0-1" } */ 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; }