PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-fre-34.c
blob18be69349d664ec97e1e089c525e3f000e45a0cf
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) ))
7 struct {
8 float i;
9 vector float global_res;
10 } s;
11 float foo(float f)
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);
18 /* { dg-final { scan-tree-dump "Replaced BIT_FIELD_REF.*with f" "fre1" } } */