Update ChangeLog and version files for release
[official-gcc.git] / gcc / testsuite / c-c++-common / torture / pr60026.c
blob1cc5f55a4d22c4f29f530372472a413fef42cd30
1 /* PR ipa/60026 */
2 /* { dg-do compile } */
4 struct S { int f; } a;
6 __attribute__((optimize (0)))
7 struct S foo (int x, struct S y)
9 int b = y.f;
10 return a;
13 void
14 bar ()
16 while (a.f)
18 struct S c = {0};
19 foo (0, c);
23 int
24 main ()
26 bar ();
27 return 0;