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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20071128-1.c] - Blame information for rev 749

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR tree-optimization/34140 */
2
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
3
 
4
struct S
5
{
6
  unsigned int s;
7
};
8
struct T
9
{
10
  struct S t[2];
11
  unsigned int u : 1;
12
};
13
 
14
void
15
foo (int x, int y, int z)
16
{
17
  int i;
18
  struct T t;
19
 
20
  t.u = t.u;
21
  for (i = 0; i < x; i++)
22
    if (z != 1)
23
      t.t[i].s = y || t.u;
24
}

powered by: WebSVN 2.1.0

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