https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88411
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-08 CC| |jvdelisle at gcc dot gnu.org, | |koenigni at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Loooking at close.c it looks like we exit st_close before we actually close the unit. So the unit locks will still be locked.