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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20011114-2.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
typedef struct { int c, d, e, f, g; } D;
2
 
3
void bar (unsigned long, unsigned long);
4
void foo (D *y)
5
{
6
  int x = 0;
7
 
8
  if (y->f == 0)
9
    x |= 0x1;
10
  if (y->g == 0)
11
    x |= 0x2;
12
  bar ((x << 16) | (y->c & 0xffff), (y->d << 16) | (y->e & 0xffff));
13
}

powered by: WebSVN 2.1.0

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