2012-12-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Dec 2012 18:11:42 +0000 (18:11 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Dec 2012 18:11:42 +0000 (18:11 +0000)
commit63d0462d2fd8ed7c89f0d305e2c9e4a0b3b06cf4
tree0886bfa4650216361f9a44a4e9855fdb8fc0364b
parenta65f362a3c42e66434f8dc85661121dd0b39f64e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194724 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/io/open.c