OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [sh/] [struct-arg-dw2.c] - Blame information for rev 764

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* Verify that we don't generate frame related insn against stack adjustment
2
   for the object sent partially in registers. */
3
/* { dg-do compile { target "sh*-*-*" } } */
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.