Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr66899.c @ 157:dafe684d005c
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:08:54 +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; } } }