From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23692 invoked by alias); 6 Mar 2018 07:40:16 -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 23664 invoked by uid 89); 6 Mar 2018 07:40:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: cc-smtpout3.netcologne.de Received: from cc-smtpout3.netcologne.de (HELO cc-smtpout3.netcologne.de) (89.1.8.213) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Mar 2018 07:40:13 +0000 Received: from cc-smtpin3.netcologne.de (cc-smtpin3.netcologne.de [89.1.8.203]) by cc-smtpout3.netcologne.de (Postfix) with ESMTP id 6EE5A125E4; Tue, 6 Mar 2018 08:40:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cc-smtpin3.netcologne.de (Postfix) with ESMTP id 6980911D79; Tue, 6 Mar 2018 08:40:11 +0100 (CET) Received: from [78.35.154.218] (helo=cc-smtpin3.netcologne.de) by localhost with ESMTP (eXpurgate 4.1.9) (envelope-from ) id 5a9e45db-02b7-7f0000012729-7f00000191e6-1 for ; Tue, 06 Mar 2018 08:40:11 +0100 Received: from [192.168.178.20] (xdsl-78-35-154-218.netcologne.de [78.35.154.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cc-smtpin3.netcologne.de (Postfix) with ESMTPSA; Tue, 6 Mar 2018 08:40:08 +0100 (CET) Subject: Re: [PATCH] PR fortran/56667 -- Issue a sane error message To: sgk@troutmask.apl.washington.edu, fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org References: <20180305190914.GA8963@troutmask.apl.washington.edu> From: Thomas Koenig Message-ID: <8989987c-1a9e-20bf-9bf7-cf105b045974@netcologne.de> Date: Tue, 06 Mar 2018 07:40:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180305190914.GA8963@troutmask.apl.washington.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-03/txt/msg00019.txt.bz2 Hi Steve, > For the mangled code in the new testcase, gfortran issues > a somewhat obtuse error message. The problem is the matcher > for a complex entity runs prior to the matcher for an implied > do-loop. Errors are queued in that order so an error messagei > for a mangled complex constant is emitted. > > Regression tested on x86_64-*-freebsd. OK for trunk. Thanks for the patch! Regards Thomas