https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95964
Tamar Christina <tnfchris at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tnfchris at gcc dot gnu.org --- Comment #4 from Tamar Christina <tnfchris at gcc dot gnu.org> --- (In reply to ktkachov from comment #3) > In GCC 11 these builtins have do get a fnspec attribute and the start > pointer is hoisted. But this happens only with -fno-trapping-math (part of > -Ofast) because the operation can raise FP exceptions and therefore is > considered to modify global state unless -fnop-trapping-math. > > Is that good enough for this PR or do we want more something more > fine-grained? This behavior seems reasonable to me given the default trapping math behavior. Is the current behavior good for you Richard S?