From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13780 invoked by alias); 4 Jul 2013 10:00:35 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 13750 invoked by uid 89); 4 Jul 2013 10:00:33 -0000 X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from mail.allinea.com (HELO mail.allinea.com) (94.125.131.200) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 04 Jul 2013 10:00:21 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.allinea.com (Postfix) with ESMTP id EB9A786C002; Thu, 4 Jul 2013 11:00:18 +0100 (BST) Received: from mail.allinea.com ([127.0.0.1]) by localhost (mail.allinea.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W-BDE8DxR+nd; Thu, 4 Jul 2013 11:00:18 +0100 (BST) Received: from [192.168.0.7] (cpc16-sotn11-2-0-cust109.15-1.cable.virginmedia.com [82.10.182.110]) (Authenticated sender: cjanuary) by mail.allinea.com (Postfix) with ESMTPSA id 77F8986C001; Thu, 4 Jul 2013 11:00:18 +0100 (BST) Message-ID: <1372932018.2796.22.camel@gumtree> Subject: RE: Variable Length Arrays (VLA) proposal From: Chris January To: "Agovic, Sanimir" Cc: "gdb@sourceware.org" , "Boell, Keven" , "Weinmann, Christoph T" Date: Thu, 04 Jul 2013 10:00:00 -0000 In-Reply-To: <1372928011.2796.13.camel@gumtree> References: <0377C58828D86C4588AEEC42FC3B85A7176288F9@IRSMSX105.ger.corp.intel.com> <1372434039.2950.12.camel@gumtree> <0377C58828D86C4588AEEC42FC3B85A71762A7F2@IRSMSX105.ger.corp.intel.com> <1372928011.2796.13.camel@gumtree> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-SW-Source: 2013-07/txt/msg00019.txt.bz2 On Thu, 2013-07-04 at 09:53 +0100, Chris January wrote: > On Thu, 2013-07-04 at 08:17 +0000, Agovic, Sanimir wrote: > > Breakpoint 1, test () at vla.f90:4 > > 4 ALLOCATE(vla (3, 4, 5)) > > $1 = > > type = integer(kind=4), ALLOCATABLE (0:1,0:1,0:1) > > 5 ALLOCATE(character(len=2) :: str) > > $2 = (( ( 0, 0) ( 0, 0) ) ( ( 0, 0) ( 0, 0) ) ) > > I have had reports this happens with the Fedora version of gfortran > 4.7.2 (but not with the Debian version, IIRC) - I will look into it. GDB 7.2 does not support DWARF 4 (specifically DW_FORM_exprloc in this case) and that is the cause of this problem. Chris