| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -fdump-ipa-cp" } */ |
| 3 |
int test3(int); |
| 4 |
__attribute__ ((noinline)) |
| 5 |
void test2(int a) |
| 6 |
{ |
| 7 |
test3(a); |
| 8 |
} |
| 9 |
void |
| 10 |
test(int n) |
| 11 |
{ |
| 12 |
if (n > 5) |
| 13 |
__builtin_unreachable (); |
| 14 |
test2(n); |
| 15 |
} |
| 16 |
/* { dg-final { scan-ipa-dump "-INF, 5" "cp" } } */ |