Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/vect/pr60482.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
/* PR middle-end/60482 */ /* { dg-do compile } */ /* { dg-additional-options "-Ofast" } */ /* { dg-require-effective-target vect_int } */ double foo (double *x, int n) { double p = 0.0; int i; x = __builtin_assume_aligned (x, 128); if (n % 128) __builtin_unreachable (); for (i = 0; i < n; i++) p += x[i]; return p; } /* { dg-final { scan-tree-dump-not "epilog loop required" "vect" } } */