This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] PR52393 I/O: "READ format" statement with parenthesized default-char-expr
- From: Jerry DeLisle <jvdelisle at charter dot net>
- To: FX <fxcoudert at gmail dot com>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 1 Jun 2016 09:28:17 -0700
- Subject: Re: [patch, fortran] PR52393 I/O: "READ format" statement with parenthesized default-char-expr
- Authentication-results: sourceware.org; auth=none
- References: <56bf245f-7f72-7f90-f9b6-c5aa0e5e5fd7 at charter dot net> <3F336BB9-A24D-4B1E-8E98-25DBC1246326 at gmail dot com>
On 06/01/2016 12:25 AM, FX wrote:
>> 2016-05-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>>
>> 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 ânegativeâ tests too? To be sure we still catch malformed parenthesized formats?
>
> FX
>
Thanks for review! yes I will add some tests.
Jerry