[Bug target/127177] __builtin_isinf vectorization incorrectly signals FE_INVALID

mkretz at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 1 15:48:27 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127177

--- Comment #2 from Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> ---
Oh, of course. The issue "[isinf] raise no floating-point exceptions, even if 
an argument is a signaling NaN" is only relevant with -fsignaling-nans, in 
which case we need integer compare. Otherwise, you're right 'fabs(x) == inf' 
should be sufficient.


More information about the Gcc-bugs mailing list