From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Kargl Newsgroups: gmane.comp.gcc.fortran,gmane.emacs.devel Subject: Re: Emacs and GFortran Date: Thu, 2 Nov 2006 17:21:03 -0800 Message-ID: <20061103012103.GA49976@troutmask.apl.washington.edu> References: <20061102190005.GA6116@meiner.onlinehome.de> <200611030143.30545.steven.bosscher@gmail.com> <20061103010817.EA39144018@Psilocybe.Update.UU.SE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162517037 15469 80.91.229.2 (3 Nov 2006 01:23:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Nov 2006 01:23:57 +0000 (UTC) Cc: Steven Bosscher , fortran@gcc.gnu.org, eliz@gnu.org, Thomas.Koenig@online.de, wt@atmos.colostate.edu, emacs-devel@gnu.org, rms@gnu.org Original-X-From: fortran-return-15427-gcgf-fortran=m.gmane.org@gcc.gnu.org Fri Nov 03 02:23:54 2006 Return-path: Envelope-to: gcgf-fortran@gmane.org Original-Received: from sourceware.org ([209.132.176.174]) by ciao.gmane.org with smtp (Exim 4.43) id 1Gfnma-0006uh-Gy for gcgf-fortran@gmane.org; Fri, 03 Nov 2006 02:23:45 +0100 Original-Received: (qmail 26346 invoked by alias); 3 Nov 2006 01:23:43 -0000 Original-Received: (qmail 26336 invoked by uid 22791); 3 Nov 2006 01:23:41 -0000 X-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,TW_SV,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Original-Received: from troutmask.apl.washington.edu (HELO troutmask.apl.washington.edu) (128.208.78.105) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 03 Nov 2006 01:23:39 +0000 Original-Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.8/8.13.8) with ESMTP id kA31L3Lq050228; Thu, 2 Nov 2006 17:21:03 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Original-Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.8/8.13.8/Submit) id kA31L3Wb050227; Thu, 2 Nov 2006 17:21:03 -0800 (PST) (envelope-from sgk) Original-To: Steve Kargl Content-Disposition: inline In-Reply-To: <20061103010817.EA39144018@Psilocybe.Update.UU.SE> User-Agent: Mutt/1.4.2.2i X-IsSubscribed: yes Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Post: List-Help: , Original-Sender: fortran-owner@gcc.gnu.org Xref: news.gmane.org gmane.comp.gcc.fortran:15396 gmane.emacs.devel:61649 Archived-At: On Fri, Nov 03, 2006 at 02:08:17AM +0100, Alfred M. Szmidt wrote: > > I volunteered. And now you are calling me of all people hostile and > on top of that ignorant? The fix in question is so trivial that it > takes more time to read your message than actually fixing it! Steve > Kargl might have not been very cooperative Alfred has asked me not to respond to him, so I've removed him from the list. I have stated more than once THE TRIVIAL FIX DOES NOT WORK. It causes REGRESSIONS in the gfortran testsuite. If someone wants to fix whatever is causing the regressions, I'll be more than happy to commit the patch. This patch troutmask:sgk[119] svn diff error.c Index: error.c =================================================================== --- error.c (revision 118397) +++ error.c (working copy) @@ -134,7 +134,7 @@ show_locus (int offset, locus * loc) lb = loc->lb; f = lb->file; - error_printf ("In file %s:%d\n", f->filename, + error_printf ("%s:%d\n", f->filename, #ifdef USE_MAPPED_LOCATION LOCATION_LINE (lb->location) #else causes over 2000 regressions of the form Executing on host: /usr/home/sgk/gcc/obj4x/gcc/testsuite/gfortran/../../gfortran -B/usr/home/sgk/gcc/obj4x/gcc/testsuite/gfortran/../../ /usr/home/sgk/gcc/gcc4x /gcc/testsuite/gfortran.dg/PR19754_1.f90 -O -pedantic-errors -S -o PR19754_ 1.s (timeout = 300) /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/PR19754_1.f90:7 x = x + y ! { dg-error "Shapes for operands at" } 1 2 Error: Shapes for operands at (1) and (2) are not conformable compiler exited with status 1 output is: /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/PR19754_1.f90:7 x = x + y ! { dg-error "Shapes for operands at" } 1 2 Error: Shapes for operands at (1) and (2) are not conformable FAIL: gfortran.dg/PR19754_1.f90 -O (test for errors, line 7) FAIL: gfortran.dg/PR19754_1.f90 -O (test for excess errors) Excess errors: /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/PR19754_1.f90:7 x = x + y ! { dg-error "Shapes for operands at" } 1 2 Error: Shapes for operands at (1) and (2) are not conformable -- Steve