https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71404
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- 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