https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94083
Harald van Dijk <harald at gigawatt dot nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |harald at gigawatt dot nl --- Comment #4 from Harald van Dijk <harald at gigawatt dot nl> --- (In reply to Jakub Jelinek from comment #3) > Shall __builtin_isinf (x) or __builtin_isinf_sign (x) raise exception if x > is a sNaN? > Or never? Or it can but doesn't have to? Never. See also bug #66462 which also has a not-quite-right patch that was committed and reverted, and the fixed patch posted but never committed and then forgotten. I'm not 100% sure of the impact of that patch on soft-float but at a quick glance it seems to use bitwise integer arithmetic which should avoid libcalls entirely.