[Bug c/118592] Add builtins/const folding for the new C23 math functions

2025-01-21 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118592 --- Comment #2 from Joseph S. Myers --- Actually, the _FloatN / _FloatNx functions are only reserved if the user defines __STDC_WANT_IEC_60559_TYPES_EXT__ so maybe DEF_EXT_LIB_FLOATN_NX_BUILTINS is right for them. Excluding built-in functions w

[Bug c/118592] Add builtins/const folding for the new C23 math functions

2025-01-21 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118592 --- Comment #1 from Joseph S. Myers --- That's just a small subset of the ones coming to C23 via TS 18661-4. There are also all the functions (added to glibc some years ago) that came via TS 18661-1 (we have roundeven, but not most of the rest).