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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr20412.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 688 jeremybenn
int
2
foo(void)
3
{
4
  int      a,b,g;
5
  int      i,len;
6
  int      stop;
7
 
8
  len = 10;
9
  stop = 0;
10
  for (i=0; i<len; i++)
11
  {
12
    a = bar1() ? 0 : 1;
13
    b = bar2() ? 0 : 1;
14
    g = bar3() ? 0 : 1;
15
 
16
    if (stop = ((a+b) % 2 != g)) break;
17
  }
18
 
19
  return stop;
20
}

powered by: WebSVN 2.1.0

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