This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249668 - in /branches/gcc-7-branch/libgfortran...
- From: wilson at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 26 Jun 2017 21:44:50 -0000
- Subject: r249668 - in /branches/gcc-7-branch/libgfortran...
Author: wilson
Date: Mon Jun 26 21:44:50 2017
New Revision: 249668
URL: https://gcc.gnu.org/viewcvs?rev=249668&root=gcc&view=rev
Log:
Fix for SPEC CPu2017 621.wrf_s failure, add missing locking code.
libgfortran/
Backport from trunk
PR libfortran/81195
* io/unit.c (get_unit): Call __gthread_mutex_lock before newunit_stack
and newunit_tos references. Call __gthread_mutex_unlock afterward.
Modified:
branches/gcc-7-branch/libgfortran/ChangeLog
branches/gcc-7-branch/libgfortran/io/unit.c