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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org
                 CC|                            |pault at gcc dot gnu.org

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 49794
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49794&action=edit
Fix for the PR

This fixes the PR by effectively changing a=t() to a=t(NULL()). It even
regtests!

I need to check that this is correct when a default initializer is present for
scalar, allocatable components.

Watch this space!

Paul
  • [Bug fortran/97612] [F08] Struc... pault at gcc dot gnu.org via Gcc-bugs

Reply via email to