[Bug bootstrap/16549] bootstrap fails on #defines in math.h
gamble at bluemartini dot com
gcc-bugzilla@gcc.gnu.org
Wed Jul 14 19:40:00 GMT 2004
------- Additional Comments From gamble at bluemartini dot com 2004-07-14 19:40 -------
The prolog:
bos52B src/bos/usr/include/math.h 1.28.3.27
The #define:
+1063 #ifndef __LONGDOUBLE128
+1064 #define fpclassify(__x) \
+1065 (sizeof(__x) == sizeof(float) ? \
+1066 ((_classf((double)__x) == FP_SNAN) || (_classf((double)__x) == F
P_QNAN) ? \
+1067 FP_QNAN : \
+1068 (_classf((double) __x) & 0x00000001 ? \
+1069 _classf((double) __x) - 1 : \
+1070 _classf((double) __x)) ) : \
+1071 #ifndef __cplusplus
+1072 ((class(__x) == FP_SNAN) || (class(__x) == FP_QNAN) ? \
+1073 #endif
+1074 FP_QNAN : \
+1075 #ifndef __cplusplus
+1076 (class(__x) & 0x00000001 ? \
+1077 #endif
+1078 _class(__x) - 1 : \
+1079 _class(__x))))
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16549
More information about the Gcc-bugs
mailing list