https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98829
--- Comment #2 from Nemanja Boric <gnu at nemanjaboric dot com> --- Indeed, but there's a barrier in the code (is_empty) which doesn't let NaN values to enter the computation, so they shouldn't propagate.