| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -fpatchable-function-entry=3,1" } */ |
| 3 |
|
| 4 |
extern int a; |
| 5 |
|
| 6 |
int f3 (void); |
| 7 |
|
| 8 |
int |
| 9 |
__attribute__((noinline)) |
| 10 |
f3 (void) |
| 11 |
{ |
| 12 |
return 5*a; |
| 13 |
} |
| 14 |
|
| 15 |
/* { dg-excess-errors "sorry, unimplemented: not generating patch area, nops not supported" } */ |