| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-Wall" } */ |
| 3 |
|
| 4 |
void f(){ |
| 5 |
int i __attribute__((vector_size(2*sizeof(int)))) = { 2, 3 }; |
| 6 |
__builtin_shuffle (i, i); /* { dg-warning "value computed is not used" } */ |
| 7 |
++i?1:0; /* { dg-warning "value computed is not used" } */ |
| 8 |
} |