On 06/03/2016 12:40 PM, H.J. Lu wrote:
> On Wed, Jun 1, 2016 at 9:28 AM, Jerry DeLisle <jvdeli...@charter.net> wrote:
>> On 06/01/2016 12:25 AM, FX wrote:
>>>> 2016-05-30  Jerry DeLisle  <jvdeli...@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.
>>
> 
> It caused:
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71404
> 
> 

Patch committed.

Author: jvdelisle
Date: Sun Jun  5 19:49:59 2016
New Revision: 237108

URL: https://gcc.gnu.org/viewcvs?rev=237108&root=gcc&view=rev
Log:
2016-06-05  Jerry DeLisle  <jvdeli...@gcc.gnu.org>

        PR fortran/71404
        * io.c (match_io): For READ, commit in pending symbols in the
        current statement before trying to match an expression so that
        if the match fails and we undo symbols we dont toss good symbols.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/io.c

Reply via email to