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: Wed, 1 Nov 2006 10:03:54 -0800 Message-ID: <20061101180354.GA62686@troutmask.apl.washington.edu> References: <200611011037.12356.wt@atmos.colostate.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162404451 9132 80.91.229.2 (1 Nov 2006 18:07:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Nov 2006 18:07:31 +0000 (UTC) Cc: fortran@gcc.gnu.org, emacs-devel@gnu.org Original-X-From: fortran-return-15382-gcgf-fortran=m.gmane.org@gcc.gnu.org Wed Nov 01 19:07:26 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 1GfKTz-00059w-Gs for gcgf-fortran@gmane.org; Wed, 01 Nov 2006 19:06:35 +0100 Original-Received: (qmail 6048 invoked by alias); 1 Nov 2006 18:06:33 -0000 Original-Received: (qmail 6030 invoked by uid 22791); 1 Nov 2006 18:06:31 -0000 X-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,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; Wed, 01 Nov 2006 18:06:20 +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 kA1I3sYl062884; Wed, 1 Nov 2006 10:03:54 -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 kA1I3sTV062883; Wed, 1 Nov 2006 10:03:54 -0800 (PST) (envelope-from sgk) Original-To: Warren Turkal Content-Disposition: inline In-Reply-To: <200611011037.12356.wt@atmos.colostate.edu> 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:15351 gmane.emacs.devel:61567 Archived-At: On Wed, Nov 01, 2006 at 10:37:12AM -0700, Warren Turkal wrote: > On Wednesday 01 November 2006 09:40, Richard Stallman wrote: > > All of GCC should follow the GNU standards for error messages. > > I guess I don't see why this is so unreasonable to the GFortran developers. It > seems that GFortran should conform to the standards (however established) of > GCC. > Have you even looked at the complexity of the gfortran error mechanism? Run this source code through gfortran http://gcc.gnu.org/bugzilla/attachment.cgi?id=9570 To make gfortran conform to http://www.gnu.org/prep/standards/standards.html#index-error-messages_002c-formatting-31 requires more than the 2 line patch posted earlier. There are at least 1022 possible routes to show_locus. troutmask:sgk[207] grep gfc_error *c | wc -l 891 troutmask:sgk[208] grep gfc_warning *c | wc -l 64 troutmask:sgk[210] grep gfc_notify *c | wc -l 67 You will need to audit each and every one to ensure that the messages meet your expectations. You'll then need to fix the testsuite. gfortran's error mechanism is fragile, but works. If you and/or any of the other whiners in this thread want to contribute to gfortran then fix an actual problem. It's not hard to find the list http://gcc.gnu.org/wiki/GFortran ICE-ON-VALID-CODE, REJECTS-VALID & WRONG-CODE 32 bugs on 27th October 2006 ICE-ON-INVALID-CODE & ACCEPTS-INVALID 32 bugs on 27th October 2006 DIAGNOSTIC 31 bugs on 27th October 2006 Some of these bugs have been opened for years (yes, that's years). There are too few developers and too much to do. -- Steve