modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr85331.c (about) 1 /* PR tree-optimization/85331 */ 2 3 typedef double V __attribute__((vector_size (2 * sizeof (double)))); 4 typedef long long W __attribute__((vector_size (2 * sizeof (long long)))); 5 6 __attribute__((noipa)) void 7 foo (V *r) 8 { 9 V y = { 1.0, 2.0 }; 10 W m = { 10000000001LL, 0LL }; 11 *r = __builtin_shuffle (y, m); 12 } 13 14 int 15 main () 16 { 17 V r; 18 foo (&r); 19 if (r[0] != 2.0 || r[1] != 1.0) 20 __builtin_abort (); 21 return 0; 22 }