Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/vect/pr81815.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
int __attribute__ ((noinline, noclone)) f (int *x, int n) { int b = 13; for (int i = 0; i < n; ++i) { int next = x[i]; b = b < 100 ? next : 200; } return b; } static int res[32]; int main (void) { for (int i = 0; i < 32; ++i) res[i] = i; res[15] = 100; if (f (res, 32) != 200) __builtin_abort (); return 0; }