From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4867 invoked by alias); 26 Apr 2013 07:46:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4822 invoked by uid 48); 26 Apr 2013 07:46:41 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/57079] [Fortran-dev] version/type/attribute fields not set with CLASS components Date: Fri, 26 Apr 2013 07:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg02141.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57079 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #1 from Tobias Burnus 2013-04-26 07:46:41 UTC --- (In reply to comment #0) > There might be also other cases, where the fields aren't properly set. In particular, I think, one should check: - ALLOCATE with SOURCE= - CLASS(*) - also as DT component - Pointer assignment "=>" - especially with CLASS(dt)/CLASS(*) On the other hand, some values are currently reseted but should have the same value, e.g. "type" is set at declaration time (or for components: when the encompassing DT is allocated). In that case, the only case where "type" has to be set is for CLASS(*) [type = other vs. type = ] and in case of "elem_len" for CLASS(dt)/CLASS(*).