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/] [compile/] [20000802-1.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
struct foo {
2
  char a[3];
3
  char b;
4
  char c;
5
};
6
 
7
struct foo bs;
8
int x;
9
char y[3];
10
 
11
void bar(void)
12
{
13
    memcpy(bs.a, y, 3);
14
    bs.a[1] = ((x ? &bs.b : &bs.c) - (char *)&bs) - 2;
15
}

powered by: WebSVN 2.1.0

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