Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/execute/pr85169.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
/* PR target/85169 */ typedef char V __attribute__((vector_size (64))); static void __attribute__ ((noipa)) foo (V *p) { V v = *p; v[63] = 1; *p = v; } int main () { V v = (V) { }; foo (&v); for (unsigned i = 0; i < 64; i++) if (v[i] != (i == 63)) __builtin_abort (); return 0; }