| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O1 -fharden-conditional-branches -funroll-loops --param max-loop-header-insns=1" } */ |
| 3 |
|
| 4 |
__attribute__ ((cold)) void |
| 5 |
bar (void); |
| 6 |
|
| 7 |
void |
| 8 |
foo (int x) |
| 9 |
{ |
| 10 |
if (x) |
| 11 |
{ |
| 12 |
int i; |
| 13 |
|
| 14 |
for (i = 0; i < 101; ++i) |
| 15 |
bar (); |
| 16 |
} |
| 17 |
} |