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.c-torture/] [execute/] [20000717-4.c] - Blame information for rev 307

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

Line No. Rev Author Line
1 297 jeremybenn
/* Extracted from gas.  Incorrectly generated non-pic code at -O0 for
2
   IA-64, which produces linker errors on some operating systems.  */
3
 
4
struct
5
{
6
  int offset;
7
  struct slot
8
  {
9
    int field[6];
10
  }
11
  slot[4];
12
} s;
13
 
14
int
15
x ()
16
{
17
  int toggle = 0;
18
  int r = s.slot[0].field[!toggle];
19
  return r;
20
}
21
 
22
int
23
main ()
24
{
25
  return 0;
26
}

powered by: WebSVN 2.1.0

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