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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr20412.c] - Blame information for rev 300

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

Line No. Rev Author Line
1 297 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.