[Bug fortran/45889] Regression with I/O of element of allocatable array in derived type

krefson at googlemail dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 5 13:51:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45889

--- Comment #4 from Keith Refson <krefson at googlemail dot com> 2010-10-05 13:51:09 UTC ---
(In reply to comment #3)
> In the test case, does the SAVE automatically allocate?  Where does the derived
> type get allocated ?.  If it has not been allocated and set to some value the
> component must be undefined.

The allocation was lost in stripping down to a minimal test case,
which is intended only to demonstrate the compile-time diagnostic.
It is not intended to link or run.



More information about the Gcc-bugs mailing list