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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [ia64/] [small-addr-1.c] - Blame information for rev 816

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

Line No. Rev Author Line
1 319 jeremybenn
/* PR target/21632 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
 
5
struct S
6
{
7
  void *s[256];
8
};
9
 
10
struct T
11
{
12
  long t[23];
13
  struct S *u;
14
};
15
 
16
extern struct T __attribute__((model (small))) v;
17
 
18
void *
19
foo (void)
20
{
21
  return v.u->s[0];
22
}
23
 

powered by: WebSVN 2.1.0

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