re PR libfortran/83613 (Executing gfortran.dg/inquire_internal.f90 hangs on darwin after r255621)
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
This commit is contained in:
parent
a97de3ccdc
commit
46031d7002
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -707,7 +707,9 @@ init_units (void)
|
||||
}
|
||||
/* 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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user