PR libstdc++/70940 make pmr::resource_adaptor return aligned memory
[official-gcc.git] / gcc / testsuite / gcc.dg / pr48770.c
blob2ebe97063e3089a4b7e142dbcbf5e2c11ec26e29
1 /* { dg-do run } */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-options "-O -fprofile-arcs -fPIC -fno-dce -fno-forward-propagate" } */
4 /* { dg-require-profiling "-fprofile-generate" } */
6 int test_goto2 (int f)
8 int i;
9 for (i = 0; ({_Bool a = i < 10;a;}); i++)
11 if (i == f)
12 goto lab2;
14 return 4;
15 lab2:
16 return 8;
19 int main ()
21 test_goto2 (30);
22 return 0;
25 /* { dg-final { cleanup-coverage-files } } */