Do not define tgmath.h fmaxmag, fminmag macros for C2X (bug 28397)
authorJoseph Myers <joseph@codesourcery.com>
Wed, 29 Sep 2021 17:38:32 +0000 (17:38 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 29 Sep 2021 17:38:32 +0000 (17:38 +0000)
commit79850e1025aabeccd3586c32ca259aa854607582
tree2eb6acb5e9d40b145492ca80b2d198a101a1d480
parent90f0ac10a74b2d43b5a65aab4be40565e359be43
Do not define tgmath.h fmaxmag, fminmag macros for C2X (bug 28397)

C2X does not include fmaxmag and fminmag.  When I updated feature test
macro handling accordingly (commit
858045ad1c5ac1682288bbcb3676632b97a21ddf, "Update floating-point
feature test macro handling for C2X", included in 2.34), I missed
updating tgmath.h so it doesn't define the corresponding type-generic
macros unless __STDC_WANT_IEC_60559_BFP_EXT__ is defined; I've now
reported this as bug 28397.  Adjust the conditionals in tgmath.h
accordingly.

Tested for x86_64.
math/tgmath.h