From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113490 invoked by alias); 22 Oct 2015 17:29:11 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 113477 invoked by uid 89); 22 Oct 2015 17:29:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: troutmask.apl.washington.edu Received: from troutmask.apl.washington.edu (HELO troutmask.apl.washington.edu) (128.95.76.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 22 Oct 2015 17:29:10 +0000 Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id t9MHT7RZ061588 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 22 Oct 2015 10:29:07 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id t9MHT7Jq061587 for fortran@gcc.gnu.org; Thu, 22 Oct 2015 10:29:07 -0700 (PDT) (envelope-from sgk) Date: Thu, 22 Oct 2015 17:29:00 -0000 From: Steve Kargl To: fortran@gcc.gnu.org Subject: Re: Anyone have a clue ... Message-ID: <20151022172907.GA61578@troutmask.apl.washington.edu> References: <20151022002849.GA7786@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151022002849.GA7786@troutmask.apl.washington.edu> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00105.txt.bz2 On Wed, Oct 21, 2015 at 05:28:49PM -0700, Steve Kargl wrote: > what the code in lines 718-733 in decl.c are for? If > I surround the block of code with #if 0 ... #endif, I > do not trigger a failure in the testsuite. So, it appears > that the syntax error that is being tested is > not represented by a test case. > Little svn spelunking showed that the lines in question and the chunk of code at the 'syntax:' label were introduced by r129685 on 2007-10-27. At this time, two testcases were added as r129686, 2007-10-27, argument_checking_[7,8].f90. It seems that checking the charlen was improved twice r139116, 2008-08-14 and r139425, 2008-08-22 with adjustments to argument_checking_7.f90 to account for new error messages. So, the lines in question have been dead code since Aug 2008. I will be reaping those lines shortly. -- Steve