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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [990604-1.c] - Blame information for rev 711

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

Line No. Rev Author Line
1 688 jeremybenn
int b;
2
void f ()
3
{
4
  int i = 0;
5
  if (b == 0)
6
    do {
7
      b = i;
8
      i++;
9
    } while (i < 10);
10
}
11
 
12
int main ()
13
{
14
  f ();
15
  if (b != 9)
16
    abort ();
17
  return 0;
18
}
19
 

powered by: WebSVN 2.1.0

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