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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.target/] [ia64/] [small-addr-1.c] - Diff between revs 319 and 338

Only display areas with differences | Details | Blame | View Log

Rev 319 Rev 338
/* PR target/21632 */
/* PR target/21632 */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2" } */
 
 
struct S
struct S
{
{
  void *s[256];
  void *s[256];
};
};
 
 
struct T
struct T
{
{
  long t[23];
  long t[23];
  struct S *u;
  struct S *u;
};
};
 
 
extern struct T __attribute__((model (small))) v;
extern struct T __attribute__((model (small))) v;
 
 
void *
void *
foo (void)
foo (void)
{
{
  return v.u->s[0];
  return v.u->s[0];
}
}
 
 
 
 

powered by: WebSVN 2.1.0

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