Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr66899.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
/* { dg-do compile } */ /* { dg-options "-Os -fprofile-arcs" } */ /* { dg-require-profiling "-fprofile-generate" } */ struct { int authority; } * a, *b, c, d; int e, f; static int fn1 () { if (a) goto verified; if (b) goto matched; return -126; matched: e = 0; verified: if (b) for (; &c != b; c = d) ; return 0; } int fn2 () { for (;;) { f = fn1 (); switch (f) { case -126: continue; default: return 0; } } }