1 /* { dg-do compile } */ 2 /* { dg-options "-O -fdump-tree-optimized -Wno-psabi" } */ 3 4 typedef int v4si __attribute__((vector_size(16))); 5 f(v4si t)6int f(v4si t) 7 { 8 union { 9 v4si t1; 10 int t2[4]; 11 } u; 12 u.t1 = t; 13 return u.t2[1]; 14 } 15 16 /* { dg-final { scan-tree-dump-not "u;" "optimized" } } */ 17 /* { dg-final { scan-tree-dump-times "BIT_FIELD_REF" 1 "optimized" } } */ 18