| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2" } */ |
| 3 |
/* { dg-additional-options "-msse2" { target ia32 } } */ |
| 4 |
/* { dg-additional-options "-Wno-psabi" { target powerpc-ibm-aix* powerpc-wrs-vxworks* powerpc-*-elf } } */ |
| 5 |
|
| 6 |
typedef int __attribute__((__vector_size__(16))) vectype; |
| 7 |
|
| 8 |
vectype dk(); |
| 9 |
vectype k(vectype); |
| 10 |
|
| 11 |
int b; |
| 12 |
vectype *j; |
| 13 |
inline int c(vectype *d) { |
| 14 |
vectype e; |
| 15 |
vectype f; |
| 16 |
vectype g = *d; |
| 17 |
vectype h = g; |
| 18 |
vectype i = h; |
| 19 |
f = i == dk(); |
| 20 |
e = f == b; |
| 21 |
k(e); |
| 22 |
} |
| 23 |
|
| 24 |
static void m(vectype *d) { |
| 25 |
int l = c(d); |
| 26 |
if (l) |
| 27 |
c(j); |
| 28 |
} |
| 29 |
|
| 30 |
void o(void) { |
| 31 |
vectype n; |
| 32 |
m(&n); |
| 33 |
} |