modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr59386.c (about) 1 /* PR tree-optimization/59386 */ 2 3 struct S { int s; }; 4 struct T { int t; struct S u; } c; 5 int b; 6 7 struct S 8 foo () 9 { 10 struct T d; 11 if (b) 12 while (c.t) 13 ; 14 else 15 return d.u; 16 } 17 18 struct S 19 bar () 20 { 21 struct T a; 22 a.u = foo (); 23 return a.u; 24 }