| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-require-effective-target fpic } */ |
| 3 |
/* { dg-options "-O1 -fno-semantic-interposition -fdump-tree-optimized -fPIC" } */ |
| 4 |
int t(void) |
| 5 |
{ |
| 6 |
return 1; |
| 7 |
} |
| 8 |
int q(void) |
| 9 |
{ |
| 10 |
return t(); |
| 11 |
} |
| 12 |
/* { dg-final { scan-tree-dump-times "return 1" 2 "optimized"} } */ |