This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/15930] [irix6.5] gfortran libraries not built


------- Additional Comments From david dot billinghurst at comalco dot riotinto dot com dot au  2004-06-11 03:19 -------
Subject: RE:  [irix6.5] gfortran libraries not built

> But it is the same problem as bug 15235, in that isinf is the problem here.

Similar problem.  For irix6.5.22m we have the following definitions in 
<internal/math_core.h> included by <math.h>


/* C99: 7.12.3 floating-point classification functions. */

/* The following 18 entry points are defined in c99's libc. __generic is a builtin
 * defined in the c99 front end. */

extern int _fpclassify(double);
extern int _fpclassifyf(float);
extern int _fpclassifyl(long double);
extern int _isfinite(double);
extern int _isfinitef(float);
extern int _isfinitel(long double);
extern int _isinf(double);
extern int _isinff(float);
extern int _isinfl(long double);
extern int _isnan(double);
extern int _isnanf(float);
extern int _isnanl(long double);
extern int _isnormal(double);
extern int _isnormalf(float);
extern int _isnormall(long double);
extern int _signbit(double);
extern int _signbitf(float);
extern int _signbitl(long double);

#define fpclassify(x) __generic(x,,, _fpclassify, _fpclassifyf, _fpclassifyl,,,)(x)
#define isfinite(x)   __generic(x,,, _isfinite,   _isfinitef,   _isfinitel,,,)(x)
#define isinf(x)      __generic(x,,, _isinf,      _isinff,      _isinfl,,,)(x)
#define isnan(x)      __generic(x,,, _isnan,      _isnanf,      _isnanl,,,)(x)
#define isnormal(x)   __generic(x,,, _isnormal,   _isnormalf,   _isnormall,,,)(x)
#define signbit(x)    __generic(x,,, _signbit,    _signbitf,    _signbitl,,,)(x)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15930


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]