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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gcc dot gnu.org

--- Comment #3 from anlauf at gcc dot gnu.org ---
(In reply to G. Steinmetz from comment #2)
> Related to pr66681, with option -finit-local-zero or -finit-real :

> $ cat z2.f90
> program f
>    real :: p[*]
>    p = 0.0
> end

With either option -fno-automatic or adding the SAVE attribute to the
declaration of p fixes the issue.

Reply via email to