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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr49518.c] - Rev 754

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

/* { dg-do compile } */
 
int a, b;
struct S { unsigned int s, t, u; } c, d = { 0, 1, 0 };
 
void
test (unsigned char z)
{
  char e[] = {0, 0, 0, 0, 1};
  for (c.s = 1; c.s; c.s++)
    {
      b = e[c.s];
      if (a)
	break;
      b = z >= c.u;
      if (d.t)
	break;
    }
}
 

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

powered by: WebSVN 2.1.0

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