Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr48770.c @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do run } */ /* { dg-require-effective-target fpic } */ /* { dg-options "-O -fprofile-arcs -fPIC -fno-dce -fno-forward-propagate" } */ /* { dg-require-profiling "-fprofile-generate" } */ int test_goto2 (int f) { int i; for (i = 0; ({_Bool a = i < 10;a;}); i++) { if (i == f) goto lab2; } return 4; lab2: return 8; } int main () { test_goto2 (30); return 0; } /* { dg-final { cleanup-coverage-files } } */