gcc/testsuite/gcc.target/i386/pr107271.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O0 -Wno-psabi" } */ |
| 3 | |
| 4 | typedef int __attribute__((__vector_size__ (16))) V; |
| 5 | |
| 6 | static inline __attribute__((__always_inline__)) V |
| 7 | bar (V v128u32_0) |
| 8 | { |
| 9 | return __builtin_shuffle ((V){}, v128u32_0, v128u32_0); |
| 10 | } |
| 11 | |
| 12 | V |
| 13 | foo (void) |
| 14 | { |
| 15 | return bar ((V){7, 4, 4}); |
| 16 | } |