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] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
 
3
int a, b;
4
struct S { unsigned int s, t, u; } c, d = { 0, 1, 0 };
5
 
6
void
7
test (unsigned char z)
8
{
9
  char e[] = {0, 0, 0, 0, 1};
10
  for (c.s = 1; c.s; c.s++)
11
    {
12
      b = e[c.s];
13
      if (a)
14
        break;
15
      b = z >= c.u;
16
      if (d.t)
17
        break;
18
    }
19
}

powered by: WebSVN 2.1.0

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