| 1 |
/* Ensure section anchors are enabled by default. */ |
| 2 |
|
| 3 |
/* { dg-do compile } */ |
| 4 |
/* { dg-options "-O1" } */ |
| 5 |
|
| 6 |
int aa; |
| 7 |
int bb; |
| 8 |
|
| 9 |
int |
| 10 |
test (void) |
| 11 |
{ |
| 12 |
return aa + bb; |
| 13 |
/* { dg-final { scan-assembler {\n\tldi32\tr\d+, \.LANCHOR\d+} } } */ |
| 14 |
} |