From patchwork Mon Sep 24 19:10:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 186521 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 519AD2C0080 for ; Tue, 25 Sep 2012 05:10:41 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1349118642; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=7Lmiumm SCqpTgKUBUrLej8o0YhM=; b=F9zV7W7wqbeultzpUPweO5iR/iFb6R/uP1vOSUD MJ4wm9VJorzvJkOjz18Xt7+g6Goy5E0YwuTUeAL89MWCvgTRfQmCbo9kUteSihjL L7Cj2ruRPai6aCEpqzoov35ibCge/88mTYPVK+TszaH+DN+gG58DEdayj7uhq4zJ 5WA0= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=LYAfPi/bCN6AjYyQe9rotmn2O5mHS2nob9MTpu0g6KBbqgZ7cw/BqM0+RhTNYg 253UxXLOq1CMEAkVp/jHP9+93S9fq5C8SktnH3WCUqqw0xR0pVh0e3qMf+JZs3tU IaHkYX6HPsbp9lW/rv742FOWAoIDW8QCL4JoRenS1YZsU=; Received: (qmail 1709 invoked by alias); 24 Sep 2012 19:10:36 -0000 Received: (qmail 1693 invoked by uid 22791); 24 Sep 2012 19:10:35 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_NO, TW_TM X-Spam-Check-By: sourceware.org Received: from mx02.qsc.de (HELO mx02.qsc.de) (213.148.130.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Sep 2012 19:10:22 +0000 Received: from [192.168.178.22] (port-92-204-33-183.dynamic.qsc.de [92.204.33.183]) by mx02.qsc.de (Postfix) with ESMTP id 2ED2927E1B; Mon, 24 Sep 2012 21:10:20 +0200 (CEST) Message-ID: <5060B01C.8060607@net-b.de> Date: Mon, 24 Sep 2012 21:10:20 +0200 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0 MIME-Version: 1.0 To: gcc patches , gfortran Subject: [Patch, Fortran, committed] PR54690 - Fix of the commit of PR54618 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This patch fixes PR54690; it is rather obvious and has been also approved by Paul in the PR. Tobias Index: gcc/fortran/ChangeLog =================================================================== --- gcc/fortran/ChangeLog (Revision 191675) +++ gcc/fortran/ChangeLog (Arbeitskopie) @@ -1,3 +1,9 @@ +2012-09-24 Tobias Burnus + + PR fortran/54618 + * trans-expr.c (gfc_conv_procedure_call): Fix INTENT(OUT) + handling for allocatable BT_CLASS. + 2012-09-24 Lawrence Crowl * trans-expr.c (gfc_conv_cst_int_power): Change to new double_int API. Index: gcc/fortran/trans-expr.c =================================================================== --- gcc/fortran/trans-expr.c (Revision 191675) +++ gcc/fortran/trans-expr.c (Arbeitskopie) @@ -3918,7 +3918,7 @@ gfc_conv_procedure_call (gfc_se * se, gfc_symbol * if (fsym && fsym->attr.intent == INTENT_OUT && (fsym->attr.allocatable || (fsym->ts.type == BT_CLASS - && CLASS_DATA (e)->attr.allocatable))) + && CLASS_DATA (fsym)->attr.allocatable))) { stmtblock_t block; tree ptr;