Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr70110.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* 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); } }