https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107046
--- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- The target seems to set flag_finite_math_only. We are much more aggressive at folding comparisons involving infinities with this flag. config/rx/rx.cc: /* Alert the user if they are changing the optimization options to use IEEE compliant floating point arithmetic with RX FPU insns. */ if (TARGET_USE_FPU && !flag_finite_math_only) warning (0, "RX FPU instructions do not support NaNs and infinities"); } I think this test is invalid for this architecture. XFAIL?