https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94665
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|WAITING |RESOLVED
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #2)
> If vara is a NaN, this is not the same; it needs -ffinite-math-only.
> And in fact adding that option does the trick (on powerpc that is, I
> don't have an aarch64 Fortran handy).
>
> Could you check this please?
I was testing and it is done with -ffinite-math-only as it done on the gimple
level as I mentioned in my comment #1 just before you did your comment.