Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/vect/vect-124.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
#include "tree-vect.h" #ifndef N #define N 64 #endif int a[N]; __attribute__((noinline, noclone)) void foo (int x) { int i; for (i = 0; i < N; i++, x += 3) a[i] = x; } int main () { int i; check_vect (); foo (6); for (i = 0; i < N; i++) if (a[i] != i * 3 + 6) abort (); return 0; }