| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2" } */ |
| 3 |
|
| 4 |
static int __attribute__ ((__noclone__, __noinline__)) |
| 5 |
reg_args (int j1, int j2, int j3, int j4, int j5, int j6, int j7, int j8) |
| 6 |
{ |
| 7 |
return j1 + j2 + j3 + j4 + j5 + j6 + j7 + j8; |
| 8 |
} |
| 9 |
|
| 10 |
int __attribute__ ((__noclone__, __noinline__)) |
| 11 |
stack_args (int j1, int j2, int j3, int j4, int j5, int j6, int j7, int j8, |
| 12 |
int j9) |
| 13 |
{ |
| 14 |
if (j9 == 0) |
| 15 |
return 0; |
| 16 |
return reg_args (j1, j2, j3, j4, j5, j6, j7, j8); |
| 17 |
} |
| 18 |
|
| 19 |
/* { dg-final { scan-assembler-not {(?n)^\s+bl\s} } } */ |