Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-fre-33.c
blobd9e534482977c38c9f788817a5bddc87c7954e7e
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 x;
12 int main(int argc)
14 vector float res;
15 res = (vector float){1.0f,2.0f,3.0f,5.0f};
16 s.global_res = res;
17 x = *((float*)&s.global_res + 1);
18 return 0;
21 /* { dg-final { scan-tree-dump "Replaced BIT_FIELD_REF.*with 2" "fre1" } } */