Merge from trunk
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr59386.c
blobb014f707ce73e1521e781461cae000f953571ae2
1 /* PR tree-optimization/59386 */
3 struct S { int s; };
4 struct T { int t; struct S u; } c;
5 int b;
7 struct S
8 foo ()
10 struct T d;
11 if (b)
12 while (c.t)
14 else
15 return d.u;
18 struct S
19 bar ()
21 struct T a;
22 a.u = foo ();
23 return a.u;