modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr82387.c (about) 1 /* PR tree-optimization/82387 */ 2 3 struct A { int b; }; 4 int f = 1; 5 6 struct A 7 foo (void) 8 { 9 struct A h[] = { 10 {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, 11 {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, 12 {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, 13 {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, 14 {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, 15 {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, 16 {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, 17 }; 18 return h[24]; 19 } 20 21 int 22 main () 23 { 24 struct A i = foo (), j = i; 25 j.b && (f = 0); 26 return f; 27 }