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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [991023-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
 
2
 
3
int blah;
4
foo()
5
{
6
  int i;
7
 
8
  for (i=0 ; i< 7 ; i++)
9
    {
10
      if (i == 7 - 1)
11
        blah = 0xfcc;
12
      else
13
        blah = 0xfee;
14
    }
15
  return blah;
16
}
17
 
18
 
19
main()
20
{
21
  if (foo () != 0xfcc)
22
    abort ();
23
  exit (0);
24
}

powered by: WebSVN 2.1.0

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