This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29216] Derived type components of function results are not initialised
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2006 20:49:06 -0000
- Subject: [Bug fortran/29216] Derived type components of function results are not initialised
- References: <bug-29216-13292@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pault at gcc dot gnu dot org 2006-10-10 20:49 -------
Created an attachment (id=12406)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12406&action=view)
A development of the previous patch (ie. it works!).
This now regtests, apart from alloc_comp_basics_1.f90, which is upset by
further allocates and deallocates - it runs but its accounting is thrown.
As FX mentions, this patch can also fix PR29394 and others of its ilk. It is
also a model for default initialization of all variables that are not otherwise
initialized. For this reason, I am going to sit on this for a little while
yet, so that I can develop these features.
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #12397|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29216