mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Stop applying a GCC-specific workaround on clang [BZ #30550]
GCC was the only compiler affected by the issue with __builtin_isinf_sign and float128. Fix BZ #30550. Reported-by: Qiu Chaofan <qiucofan@cn.ibm.com> Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
parent
6259ab3941
commit
0a9e93842d
@ -1015,7 +1015,8 @@ enum
|
||||
|
||||
/* Return nonzero value if X is positive or negative infinity. */
|
||||
# if __HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7,0) \
|
||||
&& !defined __SUPPORT_SNAN__ && !defined __cplusplus
|
||||
&& !defined __SUPPORT_SNAN__ && !defined __cplusplus \
|
||||
&& !defined __clang__
|
||||
/* Since __builtin_isinf_sign is broken for float128 before GCC 7.0,
|
||||
use the helper function, __isinff128, with older compilers. This is
|
||||
only provided for C mode, because in C++ mode, GCC has no support
|
||||
|
Loading…
Reference in New Issue
Block a user