OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20071128-1.c] - Diff between revs 297 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 384
/* PR tree-optimization/34140 */
/* PR tree-optimization/34140 */
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
 
 
struct S
struct S
{
{
  unsigned int s;
  unsigned int s;
};
};
struct T
struct T
{
{
  struct S t[2];
  struct S t[2];
  unsigned int u : 1;
  unsigned int u : 1;
};
};
 
 
void
void
foo (int x, int y, int z)
foo (int x, int y, int z)
{
{
  int i;
  int i;
  struct T t;
  struct T t;
 
 
  t.u = t.u;
  t.u = t.u;
  for (i = 0; i < x; i++)
  for (i = 0; i < x; i++)
    if (z != 1)
    if (z != 1)
      t.t[i].s = y || t.u;
      t.t[i].s = y || t.u;
}
}
 
 

powered by: WebSVN 2.1.0

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