Mercurial > hg > CbC > CbC_gcc
diff gcc/testsuite/gcc.dg/torture/pr87266-4.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcc/testsuite/gcc.dg/torture/pr87266-4.c Thu Oct 25 07:37:49 2018 +0900 @@ -0,0 +1,38 @@ +/* { dg-do compile } */ +/* { dg-additional-options "-fno-tree-dominator-opts -fno-tree-forwprop" } */ + +unsigned long int +re (long int j9) +{ + if (j9 == 0) + return 1; + + return j9; +} + +void +zq (int bt, int yy) +{ + int p3 = 0, go = 4, ez = go; + + while (go != 0) + { + if (ez + !!bt - re (bt) != 0 && go != 0) + { + if (yy != 0) + p3 = yy; + } + else + return; + + go = 2; + } +} + +void +my (unsigned long int n6, int bt, int yy) +{ + zq (bt, yy); + n6 = n6 == bt; + zq (bt, yy); +}