Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/gen-vect-33.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Compiler generates 64-bit stores of zero for this on some targets. Check there is no problem for such case. */ /* { dg-do compile } */ /* { dg-options "-O2 -ftree-vectorize" } */ void foo (float *dest, int xcount, int ycount) { int x, y; for (y = 0; y < ycount; y++) for (x = 0; x < xcount; x++) dest[x + y] = (float) 0; }