1 /* PR target/70110 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O3" } */ 4 /* { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */ 5 6 int a, c, d, f, h; 7 long long b; 8 9 static inline void foo(void)10foo (void) 11 { 12 if (a) 13 foo (); 14 b = c; 15 } 16 17 static inline void bar(int p)18bar (int p) 19 { 20 if (p) 21 f = 0; 22 b |= c; 23 } 24 25 void baz(int g,int i)26baz (int g, int i) 27 { 28 for (b = d; (d = 1) != 0; ) 29 { 30 if (a) 31 foo (); 32 b |= c; 33 bar (h); 34 bar (g); 35 bar (h); 36 bar (i); 37 bar (h); 38 } 39 } 40