Debian Codegraph @

gcc/testsuite/g++.dg/ext/vector28.C

raw
1 /* { dg-do compile } */
2
3 typedef int int32_t __attribute__((mode (__SI__)));
4
5 typedef int veci __attribute__ ((vector_size (4 * sizeof (int32_t))));
6 typedef float vecf __attribute__ ((vector_size (4 * sizeof (float))));
7
8 void f (veci *a, vecf *b, int c)
9 {
10 *a = c || *b;
11 *a = *a || c;
12 }