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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr43730.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O0" } */
3
extern int (isinfl)(long double);
4
 
5
int
6
bugfun(long double x, long double y)
7
{
8
  int result;
9
 
10
  if (isinfl(x))
11
    result = isinfl(y);
12
  else
13
    {
14
      int kx, ky;
15
      kx = ky = 1;
16
      result = (kx == ky);
17
    }
18
  return (result);
19
}

powered by: WebSVN 2.1.0

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