Fix for SPEC CPU2017 621.wrf_s failure, add missing locking code.
libgfortran/ PR libfortran/81195 * io/unit.c (get_unit): Call __gthread_mutex_lock before newunit_stack and newunit_tos references. Call __gthread_mutex_unlock afterward. From-SVN: r249667
Showing
Please
register
or
sign in
to comment