This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/48960] OPEN statement modifies NEWUNIT variable on error


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48960

--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2012-12-26 18:11:50 UTC ---
Author: jvdelisle
Date: Wed Dec 26 18:11:42 2012
New Revision: 194724

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194724
Log:
2012-12-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR libfortran/48960
    * io/open.c (st_parameter_open):  Assign newunit number to user
    variable only if the the associated open statement is successful.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/open.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]