From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2131 invoked by alias); 24 Apr 2015 08:37:18 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 2111 invoked by uid 89); 24 Apr 2015 08:37:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.17.22) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 24 Apr 2015 08:37:17 +0000 Received: from localhost ([88.75.104.20]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LpPg1-1ZHtiW07xl-00fBcF; Fri, 24 Apr 2015 10:37:13 +0200 Date: Fri, 24 Apr 2015 08:37:00 -0000 From: Andre Vehreschild To: Mikael Morin Cc: GCC-Patches-ML , GCC-Fortran-ML Subject: Re: [Patch, Fortran, PR58586, v2] ICE with derived type with allocatable component passed by value Message-ID: <20150424103712.5ef52aae@gmx.de> In-Reply-To: <20150423200052.2e7a1311@gmx.de> References: <20150415200304.7101aca9@gmx.de> <55337CF3.9010002@sfr.fr> <20150423200052.2e7a1311@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1; X-SW-Source: 2015-04/txt/msg01496.txt.bz2 Hi all, Just to clear things up, with > I have tested the code in the comments of pr61831 with v2 of this patch and > got no issues. I meant, that I have checked the code in comment #28 of pr61831. With only this patch, there still is an illegal free() of unallocated memory. With this patch and the one of Mikael in comment 44 I get no issues anymore. Regards, Andre -- Andre Vehreschild * Email: vehre ad gmx dot de