1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre1-details" } */
3 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
5 #define vector __attribute__((vector_size(16) ))
9 vector
float global_res
;
14 vector
float res
= (vector
float){0.0f
,0.0f
,0.0f
,1.0f
};
15 res
+= (vector
float){1.0f
,2.0f
,3.0f
,4.0f
};
17 x
= *((float*)&s
.global_res
+ 1);
21 /* { dg-final { scan-tree-dump "Replaced BIT_FIELD_REF.*with 2" "fre1" } } */
22 /* { dg-final { cleanup-tree-dump "fre1" } } */