Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr59166.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR rtl-optimization/59166 */ /* { dg-additional-options "-fcompare-debug" } */ /* { dg-xfail-if "compare-debug failure" { powerpc-ibm-aix* } } */ int a, b, c, f, g; void foo () { for (; b; b++) for (; f; f = g) for (; a;) ; } static int bar (int p) { short d; if (c) { for (; f; f = g); foo (); d = p; char e = d; if (p) return 1; } return p; } int main () { bar (0); bar (g); return 0; }