This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/12539] GCC 3.3.1 bootstrap failure on AIX 5.2
- From: "martelm at quark dot vsc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2003 16:49:05 -0000
- Subject: [Bug bootstrap/12539] GCC 3.3.1 bootstrap failure on AIX 5.2
- References: <20031008111644.12539.martelm@quark.vsc.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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