diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr52750.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr52750.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr52750.c b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr52750.c new file mode 100644 index 000000000..36391bac5 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr52750.c @@ -0,0 +1,11 @@ +/* PR middle-end/52750 */ + +typedef signed char V __attribute__((vector_size (32))); + +void +foo (V *x) +{ + V m = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31}; + *x = __builtin_shuffle (*x, m); +} |