From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16935 invoked by alias); 29 Jun 2011 17:52:33 -0000 Received: (qmail 16923 invoked by uid 22791); 29 Jun 2011 17:52:31 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qw0-f41.google.com (HELO mail-qw0-f41.google.com) (209.85.216.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Jun 2011 17:52:16 +0000 Received: by qwa26 with SMTP id 26so1008771qwa.0 for ; Wed, 29 Jun 2011 10:52:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.79.196 with SMTP id q4mr828423qck.132.1309369935818; Wed, 29 Jun 2011 10:52:15 -0700 (PDT) Received: by 10.229.214.83 with HTTP; Wed, 29 Jun 2011 10:52:15 -0700 (PDT) In-Reply-To: References: <20100920135856.GA27953@intel.com> Date: Wed, 29 Jun 2011 17:52:00 -0000 Message-ID: Subject: Re: PATCH: PR testsuite/12040: GDB Fortran tests use g77 instead of gfortran From: "H.J. Lu" To: Tom Tromey Cc: GDB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2011-06/txt/msg00464.txt.bz2 On Wed, Jun 29, 2011 at 10:50 AM, Tom Tromey wrote: > H.J.> Did we get gfortran when searching for F77/f77 compiler? > > Tom> No, I forgot the most crucial bit :) > Tom> I will write a follow-up patch to make our tests use gfortran. > Tom> I don't think supporting g77 is all that worthwhile any more. > > Here is the follow-up. =A0I am checking it in. > > This patch switches all the gdb.fortran tests to use the new gfortran > support. > > Built and regested both locally and by the buildbot. > > Note that this introduces new FAILs: > > FAIL: gdb.fortran/array-element.exp: continue to breakpoint once again (t= he program exited) > FAIL: gdb.fortran/array-element.exp: print the second element of array a > > > These tests were previously not run, at least not on the machines I use. > This is really just a single failure; I looked at it briefly and it is > either a gfortran bug, or a bad assumption on the part of the testcase > writer. =A0I don't actually know Fortran so it is hard to say. > > Tom > > 2011-06-29 =A0Tom Tromey =A0 > > =A0 =A0 =A0 =A0PR testsuite/12040: > =A0 =A0 =A0 =A0* gdb.fortran/array-element.exp: Use f90, not f77. > =A0 =A0 =A0 =A0* gdb.fortran/complex.exp: Use f90, not f77. > =A0 =A0 =A0 =A0* gdb.fortran/derived-type.exp: Use f90, not f77. > =A0 =A0 =A0 =A0* gdb.fortran/library-module.exp: Use f90, not f77. > =A0 =A0 =A0 =A0* gdb.fortran/logical.exp: Use f90, not f77. > =A0 =A0 =A0 =A0* gdb.fortran/module.exp: Use f90, not f77. > =A0 =A0 =A0 =A0* gdb.fortran/multi-dim.exp: Use f90, not f77. > =A0 =A0 =A0 =A0* gdb.fortran/subarray.exp: Use f90, not f77. > gfortran can be used as F77 compiler. Why not just return gfortran for f77? --=20 H.J.