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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [ia64/] [small-addr-1.c] - Rev 328

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

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

Go to most recent revision | 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.