From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32329 invoked by alias); 2 Apr 2016 09:44:22 -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 32304 invoked by uid 89); 2 Apr 2016 09:44:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:!192.168.1.10!, H*r:ip*192.168.1.10, HTo:D*charter.net, H*RU:!192.168.1.10! X-Spam-User: qpsmtpd, 2 recipients X-HELO: nef2.ens.fr Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 02 Apr 2016 09:44:19 +0000 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id u329iE1J051670 ; Sat, 2 Apr 2016 11:44:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id E7EFA16C; Sat, 2 Apr 2016 11:44:14 +0200 (CEST) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WT0QwlIz9VC7; Sat, 2 Apr 2016 11:44:14 +0200 (CEST) Received: from [192.168.1.10] (log78-1-82-242-47-10.fbx.proxad.net [82.242.47.10]) by mailhost.lps.ens.fr (Postfix) with ESMTPSA id B5DD0168; Sat, 2 Apr 2016 11:44:14 +0200 (CEST) From: =?utf-8?Q?Dominique_d=27Humi=C3=A8res?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [patch, fortran] PR68566 ICE on using unusable array in reshape Date: Sat, 02 Apr 2016 09:44:00 -0000 Message-Id: Cc: fortran@gcc.gnu.org, gcc-patches To: Jerry DeLisle Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-SW-Source: 2016-04/txt/msg00006.txt.bz2 Hi Jerry, > ... > I will add an additional test case for the original posted problem in the= PR. > Two existing tests get exercised, changing the error message. Finding the > problems earlier in the matchers I think is the right way to go. I am cur= ious if > the old checks ever get triggered (I will look into that a little later. (1) In real_dimension_1.f, s/defualt/default/; (2) Before your patch the errors were Error: Expression at (1) must be of INTEGER type, found REAL How difficult is it to restore the "found =E2=80=A6 =C2=AB ? (3) dimension(n,d) used to give two errors, one for n and one for d. How difficult is it to restore this behavior. > Regression tested on x86-64-linux. OK for trunk? I see FAIL: gfortran.dg/pr36192_1.f90 -O (test for errors, line 5) FAIL: gfortran.dg/pr36192_1.f90 -O (test for excess errors) Thanks for working on this PR, Dominique