| 1 |
/* Verify that we don't generate frame related insn against stack adjustment |
| 2 |
for the object sent partially in registers. */ |
| 3 |
/* { dg-do compile } */ |
| 4 |
/* { dg-options "-g" } */ |
| 5 |
/* { dg-final { scan-assembler-not "\t.cfi_def_cfa_offset 16" } } */ |
| 6 |
|
| 7 |
typedef struct |
| 8 |
{ |
| 9 |
unsigned short A1; |
| 10 |
unsigned short A2; |
| 11 |
} A_t; |
| 12 |
|
| 13 |
typedef struct |
| 14 |
{ |
| 15 |
A_t C13[10]; |
| 16 |
} C_t; |
| 17 |
|
| 18 |
void |
| 19 |
Store (C_t Par) |
| 20 |
{ |
| 21 |
unsigned char *ptr; |
| 22 |
unsigned int test; |
| 23 |
|
| 24 |
ptr = (unsigned char*) 0x12345678; |
| 25 |
ptr++; |
| 26 |
} |