[Bug tree-optimization/105384] compilation never (?) finishes with __builtin_yn{,f,l} at -O and above
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 26 18:04:04 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105384
--- Comment #7 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Using host libm routines is a bad idea, that would make the generated code
depend on the host libm and processor. Having a cut-off to avoid constant
folding these functions for n >= 128 might make sense (that cut-off is
chosen as the one beyond which the ISO 24747 versions of the functions,
and the versions in the standard C++ library, have implementation-defined
behavior).
More information about the Gcc-bugs
mailing list