From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16214 invoked by alias); 11 Mar 2008 08:49:50 -0000 Received: (qmail 16204 invoked by uid 22791); 11 Mar 2008 08:49:48 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate2.de.ibm.com (HELO mtagate2.de.ibm.com) (195.212.29.151) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Mar 2008 08:49:22 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.8/8.13.8) with ESMTP id m2B8nHaY157910 for ; Tue, 11 Mar 2008 08:49:17 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m2B8nGOA1933478 for ; Tue, 11 Mar 2008 09:49:16 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m2B8nGII031253 for ; Tue, 11 Mar 2008 09:49:16 +0100 Received: from bbkeks.de.ibm.com (dyn-9-152-248-39.boeblingen.de.ibm.com [9.152.248.39]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m2B8nFK8031208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Mar 2008 09:49:16 +0100 Message-ID: <47D6478B.9000605@de.ibm.com> Date: Tue, 11 Mar 2008 08:49:00 -0000 From: Markus Deuling User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Jan Kratochvil CC: gdb-patches@sourceware.org Subject: Re: [6/6] Fortran dynamic arrays #2: Fortran array testcase References: <20071123234439.GG23460@host0.dyn.jankratochvil.net> In-Reply-To: <20071123234439.GG23460@host0.dyn.jankratochvil.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00114.txt.bz2 Jan Kratochvil schrieb: > Hi, > > and a testcase for the Fortran dynamic arrays. > > It requires the already patched gcc-4.3 to PASS. > > Missing `g77' discussed at: > http://sources.redhat.com/ml/gdb-patches/2007-11/msg00327.html > > The .TRUE. Fortran value parsing could get probably fixed by another patch > (workarounded in the testcase). > > > Regards, > Jan > Hi Jan, I also saw cases when gfortran emitted wrong or incomplete debug data but it gets better with 4.3. Just a small comment to your testcase: +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug f77 quiet}] != "" } { + untested "Couldn't compile ${srcfile}" + return -1 +} I'm not able to compile your .f90 testcase with f77. What I did is to invoke gfortran instead, hoping 4.3 gets better :-) +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug compiler=gfortran quiet}] != "" } { + untested "Couldn't compile ${srcfile}" + return -1 +} Regards, Markus -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com