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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [960218-1.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
int glob;
2
 
3
g (x)
4
{
5
  glob = x;
6
  return 0;
7
}
8
 
9
f (x)
10
{
11
  int a = ~x;
12
  while (a)
13
    a = g (a);
14
}
15
 
16
main ()
17
{
18
  f (3);
19
  if (glob != -4)
20
    abort ();
21
  exit (0);
22
}

powered by: WebSVN 2.1.0

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