* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr48335-1.c
blob6f813382c707fdb6ec94e813bab6bc63585fcc2f
1 /* PR middle-end/48335 */
3 struct S { float d; };
5 void bar (struct S);
7 void
8 f0 (int x)
10 struct S s = {.d = 0.0f };
11 ((char *) &s.d)[0] = x;
12 s.d *= 7.0;
13 bar (s);
16 void
17 f1 (int x)
19 struct S s = {.d = 0.0f };
20 ((char *) &s.d)[1] = x;
21 s.d *= 7.0;
22 bar (s);
25 void
26 f2 (int x)
28 struct S s = {.d = 0.0f };
29 ((char *) &s.d)[2] = x;
30 s.d *= 7.0;
31 bar (s);
34 void
35 f3 (int x)
37 struct S s = {.d = 0.0f };
38 ((char *) &s.d)[3] = x;
39 s.d *= 7.0;
40 bar (s);