PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70110.c
blob42bbe3a956b445efeb4a09ee7da05ae981c82be7
1 /* PR target/70110 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3" } */
4 /* { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */
6 int a, c, d, f, h;
7 long long b;
9 static inline void
10 foo (void)
12 if (a)
13 foo ();
14 b = c;
17 static inline void
18 bar (int p)
20 if (p)
21 f = 0;
22 b |= c;
25 void
26 baz (int g, int i)
28 for (b = d; (d = 1) != 0; )
30 if (a)
31 foo ();
32 b |= c;
33 bar (h);
34 bar (g);
35 bar (h);
36 bar (i);
37 bar (h);