| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-require-effective-target arm_thumb2_ok } */ |
| 3 |
/* { dg-options "-Ofast -fstack-clash-protection" } */ |
| 4 |
|
| 5 |
void d (void *); |
| 6 |
|
| 7 |
void a () |
| 8 |
{ |
| 9 |
int b; |
| 10 |
void bar (int c) |
| 11 |
{ |
| 12 |
if (__builtin_expect (c, 0)) |
| 13 |
++b; |
| 14 |
} |
| 15 |
d (bar); |
| 16 |
} |