1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre1-details" } */
3 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
4 
5 #define vector __attribute__((vector_size(16) ))
6 
7 struct {
8     float i;
9     vector float global_res;
10 } s;
foo(float f)11 float foo(float f)
12 {
13   vector float res = (vector float){0.0f,f,0.0f,1.0f};
14   s.global_res = res;
15   return *((float*)&s.global_res + 1);
16 }
17 
18 /* { dg-final { scan-tree-dump "Replaced BIT_FIELD_REF.*with f" "fre1" } } */
19