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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [960317-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

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