From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126068 invoked by alias); 4 Jul 2015 16:25:03 -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 126048 invoked by uid 89); 4 Jul 2015 16:25:02 -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,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: troutmask.apl.washington.edu Received: from troutmask.apl.washington.edu (HELO troutmask.apl.washington.edu) (128.95.76.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 04 Jul 2015 16:25:02 +0000 Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id t64GOxok059538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 4 Jul 2015 09:24:59 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id t64GOxmD059537; Sat, 4 Jul 2015 09:24:59 -0700 (PDT) (envelope-from sgk) Date: Sat, 04 Jul 2015 16:25:00 -0000 From: Steve Kargl To: Andre Vehreschild Cc: GCC-Patches-ML , GCC-Fortran-ML Subject: Re: [Ping, Patch, Fortran, PR58586, v5] ICE with derived type with allocatable component passed by value Message-ID: <20150704162459.GA59514@troutmask.apl.washington.edu> References: <20150423200052.2e7a1311@gmx.de> <553CBC80.2050208@sfr.fr> <20150505110026.7ecbc229@gmx.de> <554B3B23.3050800@sfr.fr> <20150508125444.50e234d6@gmx.de> <554CB85A.70901@sfr.fr> <20150508153146.75933da8@gmx.de> <20150508161111.33be9f14@gmx.de> <20150519160137.05580a36@vepi2> <20150703112900.1508b419@vepi2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150703112900.1508b419@vepi2> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-07/txt/msg00254.txt.bz2 On Fri, Jul 03, 2015 at 11:29:00AM +0200, Andre Vehreschild wrote: > Ping! > (Un)fortnuately you're working on an area of Fortran that I don't know and in parts of the tree that takes me a long time to decipher (aka, trans-*.c files). I applied your patch and see several failures. I'll note that I did not start from a clean obj/. So, there is the possibility that some *.o file needed to get rebuilt but didn't. Anyhow, laptop-kargl:kargl[300] gfc -o z alloc_comp_class_4.f03 && ./z Program received signal SIGSEGV: Segmentation fault - invalid memory reference. Backtrace for this error: #0 0x2808B9A6 #1 0x2808AB19 #2 0xBFBFF003 #3 0x8048DEA #4 0x8049097 #5 0x8048779 Segmentation fault (core dumped) Hmmm, Ok, I just looked at the source for alloc_comp_class_4.f03 and found line 94. temp = t_init() ! <-- This derefs a null-pointer currently Not sure what to make of this. -- Steve