From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15028 invoked by alias); 10 Oct 2006 20:49:19 -0000 Received: (qmail 14946 invoked by uid 48); 10 Oct 2006 20:49:06 -0000 Date: Tue, 10 Oct 2006 20:49:00 -0000 Message-ID: <20061010204906.14945.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/29216] Derived type components of function results are not initialised In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg00832.txt.bz2 List-Id: ------- 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