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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [sh/] [struct-arg-dw2.c] - Rev 826

Compare with Previous | Blame | View Log

/* Verify that we don't generate fame related insn against stack adjustment
   for the object sent partially in registers. */
/* { dg-do compile { target "sh*-*-*" } } */
/* { dg-options "-g" } */
/* { dg-final { scan-assembler-not "\t.cfi_def_cfa_offset 16" } } */
 
typedef struct
{
  unsigned short A1;
  unsigned short A2;
} A_t;
 
typedef struct
{
  A_t C13[10];
} C_t;
 
void
Store (C_t Par)
{
  unsigned char *ptr;
  unsigned int test;
 
  ptr = (unsigned char*) 0x12345678;
  ptr++;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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