2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / sh / struct-arg-dw2.c
blob50c8f34c3e67e82c0c20a7aeafacfc5cd3d63fdb
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" } } */
7 typedef struct
9 unsigned short A1;
10 unsigned short A2;
11 } A_t;
13 typedef struct
15 A_t C13[10];
16 } C_t;
18 void
19 Store (C_t Par)
21 unsigned char *ptr;
22 unsigned int test;
24 ptr = (unsigned char*) 0x12345678;
25 ptr++;