Fix warnings occured during profiledboostrap on
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr40432.c
blob767f59498870a05b6352ab1d857028d411e0b75b
1 /* Test that SRA produces valid gimple when handling both type punning by means
2 of VCE and creating an access to a union. */
4 union U {
5 struct something *sth;
6 void *nothing;
7 };
9 void
10 foo (union U *target, void *p)
12 union U u;
14 u.nothing = p;
15 *target = u;
16 return;