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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [loop-4b.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
f()
3
{
4
  int j = 1;
5
  long i;
6
  i = 0x60000000L;
7
  do
8
    {
9
      j <<= 1;
10
      i += 0x10000000L;
11
    } while (i < -0x60000000L);
12
  return j;
13
}
14
 
15
int
16
main ()
17
{
18
  if (f () != 2)
19
    abort ();
20
  exit (0);
21
}

powered by: WebSVN 2.1.0

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