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/] [960317-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
int
2
f (unsigned bitcount, int mant)
3
{
4
  int mask = -1 << bitcount;
5
  {
6
    if (! (mant & -mask))
7
      goto ab;
8
    if (mant & ~mask)
9
      goto auf;
10
  }
11
ab:
12
  return 0;
13
auf:
14
  return 1;
15
}
16
 
17
main ()
18
{
19
  if (f (0, -1))
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.