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 bootstrap/12539] GCC 3.3.1 bootstrap failure on AIX 5.2


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From martelm at quark dot vsc dot edu  2003-10-08 16:49 -------
I've attahced the original math.h from the configure/bootstrap process.  I found
this link :

http://gcc.gnu.org/ml/gcc/2003-07/msg00212.html

And I modified this section of math.h to remove the #ifndef __cplusplus and the
corrosponding #endif and the make bootstrap is moving along.

#ifndef __LONGDOUBLE128
#define fpclassify(__x)	\
    (sizeof(__x) == sizeof(float) ?  \
        ((_classf((double)__x) == FP_SNAN) || (_classf((double)__x) == FP_QNAN) ? \
            FP_QNAN : \
            (_classf((double) __x) & 0x00000001 ? \
                _classf((double) __x) - 1 : \
                _classf((double) __x)) ) : \
#ifndef __cplusplus
        ((class(__x) == FP_SNAN) || (class(__x) == FP_QNAN) ? \
#endif
            FP_QNAN : \
#ifndef __cplusplus
            (class(__x)  & 0x00000001 ? \
#endif


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