| 1 |
/* { dg-do compile } */ |
| 2 |
/* Specify C99 to avoid the warning/error on compound literals. */ |
| 3 |
/* { dg-options "-O1 -std=c99 -Wno-psabi" } */ |
| 4 |
|
| 5 |
/* Verify that there is no ICE. */ |
| 6 |
|
| 7 |
typedef __attribute__((vector_size(8))) signed char int8x8_t; |
| 8 |
typedef __attribute__((vector_size(8))) unsigned char uint8x8_t; |
| 9 |
|
| 10 |
int8x8_t fn1 (int8x8_t val20, char tmp) |
| 11 |
{ |
| 12 |
uint8x8_t __trans_tmp_3; |
| 13 |
__trans_tmp_3 = (uint8x8_t){tmp}; |
| 14 |
int8x8_t __a = (int8x8_t) __trans_tmp_3; |
| 15 |
return __builtin_shuffle (__a, val20, (uint8x8_t){0}); |
| 16 |
} |