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/] [unsorted/] [fnul.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;
4
  int f;
5
 
6
  for (i = 0;; i--)
7
    {
8
      f = 0;
9
 
10
      if ((i & (i - 1)) == 0)
11
        {
12
          printf ("d");
13
          f = 1;
14
        }
15
      if ((i & -i) == i)
16
        {
17
          printf ("t");
18
          f = 1;
19
        }
20
      if (f)
21
        printf ("%d\n", i);
22
    }
23
}

powered by: WebSVN 2.1.0

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