40 lines
500 B
C
40 lines
500 B
C
/* PR target/70110 */
|
|
/* { dg-do compile } */
|
|
/* { dg-options "-O3" } */
|
|
/* { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */
|
|
|
|
int a, c, d, f, h;
|
|
long long b;
|
|
|
|
static inline void
|
|
foo (void)
|
|
{
|
|
if (a)
|
|
foo ();
|
|
b = c;
|
|
}
|
|
|
|
static inline void
|
|
bar (int p)
|
|
{
|
|
if (p)
|
|
f = 0;
|
|
b |= c;
|
|
}
|
|
|
|
void
|
|
baz (int g, int i)
|
|
{
|
|
for (b = d; (d = 1) != 0; )
|
|
{
|
|
if (a)
|
|
foo ();
|
|
b |= c;
|
|
bar (h);
|
|
bar (g);
|
|
bar (h);
|
|
bar (i);
|
|
bar (h);
|
|
}
|
|
}
|