From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2409 invoked by alias); 26 Oct 2010 07:10:08 -0000 Received: (qmail 2394 invoked by uid 22791); 26 Oct 2010 07:10:06 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Oct 2010 07:10:02 +0000 From: "sfilippone at uniroma2 dot it" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/46174] [OOP] ALLOCATE with SOURCE: Deep copy missing 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: sfilippone at uniroma2 dot it 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 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 Date: Tue, 26 Oct 2010 07:10:00 -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 X-SW-Source: 2010-10/txt/msg02134.txt.bz2 Message-ID: <20101026071000.j1qPhPp72NLl9WUAHyzLjlBHRiBjsleWhZffKsMN8GI@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46174 Salvatore Filippone changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sfilippone at uniroma2 dot | |it --- Comment #1 from Salvatore Filippone 2010-10-26 07:09:41 UTC --- (In reply to comment #0) > The following is in a sense a follow up to PR 45451. > > Assuming that X and Y are both polymorphic (CLASS) and the following operation: > ALLOCATE (x, SOURCE=y) > or > x = y ! Fortran 2008: (Re)alloc on assignment with polymorphic LHS > What about MOLD= for polymorphic variables?