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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [ia64/] [small-addr-1.c] - Rev 823

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.