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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [961017-2.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
main ()
2
{
3
  int i = 0;
4
 
5
 
6
  if (sizeof (unsigned long int) == 4)
7
    {
8
      unsigned long int z = 0;
9
 
10
      do {
11
        z -= 0x00004000;
12
        i++;
13
        if (i > 0x00040000)
14
          abort ();
15
      } while (z > 0);
16
      exit (0);
17
    }
18
  else if (sizeof (unsigned int) == 4)
19
    {
20
      unsigned int z = 0;
21
 
22
      do {
23
        z -= 0x00004000;
24
        i++;
25
        if (i > 0x00040000)
26
          abort ();
27
      } while (z > 0);
28
      exit (0);
29
    }
30
  else
31
    exit (0);
32
}

powered by: WebSVN 2.1.0

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