comparison gcc/testsuite/gcc.c-torture/compile/pr71109.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* PR tree-optimization/71109 */
2
3 struct S { int g, h; signed char i; int j; signed char k; int l[4]; } a, c;
4 struct T { signed char g; } e;
5 int *b, d;
6 static void foo ();
7
8 void
9 bar (void)
10 {
11 while (d)
12 {
13 int k;
14 struct T f[3];
15 foo (bar, a);
16 for (k = 0;; k++)
17 f[k] = e;
18 }
19 }
20
21 static inline void
22 foo (int x, struct S y, struct T z)
23 {
24 for (z.g = 2; z.g; z.g--)
25 {
26 c = a = y;
27 *b |= 6;
28 if (y.g)
29 break;
30 }
31 }