From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2457 invoked by alias); 3 Jun 2016 19:40:58 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 2422 invoked by uid 89); 3 Jun 2016 19:40:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=D*charter.net, HCc:U*fxcoudert, H*Ad:U*fxcoudert, HTo:U*jvdelisle X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-qt0-f174.google.com Received: from mail-qt0-f174.google.com (HELO mail-qt0-f174.google.com) (209.85.216.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 03 Jun 2016 19:40:47 +0000 Received: by mail-qt0-f174.google.com with SMTP id t13so688361qtc.3; Fri, 03 Jun 2016 12:40:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vwBdZ1MuYq3KUWON8A1VBu55MqjGGCdG/S8JmkC/gHo=; b=CePLbaCNpbA6gl2siasVhzV+3FDJ2p2TuiobPEeeEPOFdeNzxIMKJU8LYD2S0XyU3X zmyot1US3Xz/IvWHXFwYcqZ6gaQEKLoWHWULc92H5E44Fm3sa9lj9Dv+0uLMND4AiHfA 5JhDZU4SzujHwyp+FYbY630MGBTnrdMaOZ5P5avrCYV345Prgi7Rtn/fVuHrI4KVMNgx Ft8bs0gfZKjeJJYPgzva6Uc1q8BNwxjdsM8HdF6/xVs4pwDORH1ent8Cnpqqw82mSxLm ZyghHTs5XP8nkRVCXMYaSZOmwIooSADPKsmF8fUAye2zWQ5yKK6iSbZt57JKd1xd16TT A8RQ== X-Gm-Message-State: ALyK8tIQvjh54xpQx3CLSaTSwv2/sAx8/O2v1yWwM/R9P94Vq3sIApJyfFG1nrUs0p0RxUWAtOujAQ+PqaPN+A== X-Received: by 10.237.38.129 with SMTP id q1mr5041455qtd.1.1464982845424; Fri, 03 Jun 2016 12:40:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.221.7 with HTTP; Fri, 3 Jun 2016 12:40:44 -0700 (PDT) In-Reply-To: <510ebfd6-3e3c-c75b-e5d5-1328ebc28351@charter.net> References: <56bf245f-7f72-7f90-f9b6-c5aa0e5e5fd7@charter.net> <3F336BB9-A24D-4B1E-8E98-25DBC1246326@gmail.com> <510ebfd6-3e3c-c75b-e5d5-1328ebc28351@charter.net> From: "H.J. Lu" Date: Fri, 03 Jun 2016 19:40:00 -0000 Message-ID: Subject: Re: [patch, fortran] PR52393 I/O: "READ format" statement with parenthesized default-char-expr To: Jerry DeLisle Cc: FX , gfortran , gcc patches Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00300.txt.bz2 On Wed, Jun 1, 2016 at 9:28 AM, Jerry DeLisle wrote: > On 06/01/2016 12:25 AM, FX wrote: >>> 2016-05-30 Jerry DeLisle >>> >>> PR fortran/52393 >>> * io.c (match_io): For READ, try to match a default character >>> expression. If found, set the dt format expression to this, >>> otherwise go back and try control list. >> >> OK. Maybe you could add some =E2=80=9Cnegative=E2=80=9D tests too? To be= sure we still catch malformed parenthesized formats? >> >> FX >> > > Thanks for review! yes I will add some tests. > It caused: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71404 --=20 H.J.