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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [960218-1.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 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.