2017-12-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/83613
* io/unit.c (init_units): Don't forget to unlock the unit locks
after being inserted.
From-SVN: r256035
+2017-12-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/83613
+ * io/unit.c (init_units): Don't forget to unlock the unit locks
+ after being inserted.
+
2017-12-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/83560
}
/* The default internal units. */
u = insert_unit (GFC_INTERNAL_UNIT);
+ __gthread_mutex_unlock (&u->lock);
u = insert_unit (GFC_INTERNAL_UNIT4);
+ __gthread_mutex_unlock (&u->lock);
}