1 /* PR target/88965 */ 2 /* { dg-do compile } */ 3 /* { dg-require-effective-target powerpc_vsx_ok } */ 4 /* { dg-options "-O2 -mvsx" } */ 5 6 unsigned int a[16]; 7 unsigned int __attribute__ ((vector_size (16))) b; 8 9 void foo(void)10foo (void) 11 { 12 b = __builtin_vec_vsx_ld (0, &a[0]); 13 } 14 15 void bar(void)16bar (void) 17 { 18 __builtin_vec_vsx_st (b, 0, &a[0]); 19 } 20