| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O" } */ |
| 3 |
|
| 4 |
typedef char __attribute__((__vector_size__ (4))) U; |
| 5 |
typedef short __attribute__((__vector_size__ (8))) V; |
| 6 |
|
| 7 |
U |
| 8 |
foo (V v, V w) |
| 9 |
{ |
| 10 |
return __builtin_convertvector (w * w + w, U); |
| 11 |
} |
| 12 |
|