From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brooks Moses Newsgroups: gmane.emacs.devel,gmane.comp.gcc.fortran Subject: Re: Emacs and GFortran Date: Thu, 02 Nov 2006 18:32:55 -0800 Organization: Stanford University Message-ID: <454AAA57.7090301@stanford.edu> References: <20061102190005.GA6116@meiner.onlinehome.de> <200611030143.30545.steven.bosscher@gmail.com> <20061103010817.EA39144018@Psilocybe.Update.UU.SE> <20061103012103.GA49976@troutmask.apl.washington.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010904030509050002090101" X-Trace: sea.gmane.org 1162522619 27239 80.91.229.2 (3 Nov 2006 02:56:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Nov 2006 02:56:59 +0000 (UTC) Cc: fortran@gcc.gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 03 03:56:57 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gfoyq-0003w4-Q7 for ged-emacs-devel@m.gmane.org; Fri, 03 Nov 2006 03:40:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gfoyq-0003Hx-Dj for ged-emacs-devel@m.gmane.org; Thu, 02 Nov 2006 21:40:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gfoyh-0003Hi-MU for emacs-devel@gnu.org; Thu, 02 Nov 2006 21:40:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gfoyf-0003HW-2N for emacs-devel@gnu.org; Thu, 02 Nov 2006 21:40:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gfoye-0003HT-Vb for emacs-devel@gnu.org; Thu, 02 Nov 2006 21:40:17 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gfoye-00054C-Ot for emacs-devel@gnu.org; Thu, 02 Nov 2006 21:40:17 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GfoyQ-0003ty-77 for emacs-devel@gnu.org; Fri, 03 Nov 2006 03:40:03 +0100 Original-Received: from dnab42a485.stanford.edu ([171.66.164.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Nov 2006 03:40:02 +0100 Original-Received: from bmoses by dnab42a485.stanford.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Nov 2006 03:40:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 83 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dnab42a485.stanford.edu User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en In-Reply-To: <20061103012103.GA49976@troutmask.apl.washington.edu> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61650 gmane.comp.gcc.fortran:15397 Archived-At: This is a multi-part message in MIME format. --------------010904030509050002090101 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Steve Kargl wrote: > 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. The attached only-slightly-less-trivial patch should fix the regressions, although I have not yet tested it to confirm that. Since my build machine is currently occupied with running CFD calculations for my dissertation, would you mind regtesting it? - Brooks --------------010904030509050002090101 Content-Type: text/x-patch; name="error.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="error.diff" Index: testsuite/lib/gfortran-dg.exp =================================================================== --- testsuite/lib/gfortran-dg.exp (revision 118446) +++ testsuite/lib/gfortran-dg.exp (working copy) @@ -26,23 +26,23 @@ set output_file [lindex $result 1] # gfortran error messages look like this: - # In file [name]:[line] + # [name]:[line] # # some code # 1 - # Error: Some error at (1) and (2) + # Error: Some error at (1) # or - # In file [name]:[line] + # [name]:[line] # # some code # 1 - # In file [name]:[line2] + # [name]:[line2] # # some other code # 2 # Error: Some error at (1) and (2) # or - # In file [name]:[line] + # [name]:[line] # # some code and some more code # 1 2 @@ -59,7 +59,7 @@ # Note that these regexps only make sense in the combinations used below. # Note also that is imperative that we first deal with the form with # two loci. - set locus_regexp " In file (\[^\n\]*)\n\n\[^\n\]*\n\[^\n\]*\n" + set locus_regexp " (\[^\n\]*)\n\n\[^\n\]*\n\[^\n\]*\n" set diag_regexp "(\[^\n\]*)\n" set two_loci "$locus_regexp$locus_regexp$diag_regexp" Index: fortran/error.c =================================================================== --- fortran/error.c (revision 118446) +++ fortran/error.c (working copy) @@ -134,7 +134,7 @@ 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 --------------010904030509050002090101 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --------------010904030509050002090101--