This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patches to move to gcc-3_2-branch
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 4 Dec 2002 16:33:57 -0600 (CST)
- Subject: Re: patches to move to gcc-3_2-branch
- References: <153470000.1038262617@warlock.codesourcery.com> <200211262255.gAQMtwbP072841@latour.rsch.comm.mot.com>
- Reply-to: rittle at labs dot mot dot com
In article <200211262255.gAQMtwbP072841@latour.rsch.comm.mot.com>,
Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
>> PR libstdc++/7445 (locale::classic [run-time regression])
> I will post them in transferred from when it has occurred (and it may
> be a week before I can get to it).
Well, I have transfered:
PR libstdc++/7445 (locale::classic [run-time regression])
Rebuilt libstdc++-v3 in already bootstrapped tree; checked with no
failures on i386-unknown-freebsd4.7 and committed.
Regards,
Loren
Index: libstdc++-v3/src/locale.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/src/locale.cc,v
retrieving revision 1.54.2.6.4.6
retrieving revision 1.54.2.6.4.7
diff -c -r1.54.2.6.4.6 -r1.54.2.6.4.7
*** libstdc++-v3/src/locale.cc 17 Oct 2002 02:04:17 -0000 1.54.2.6.4.6
--- libstdc++-v3/src/locale.cc 4 Dec 2002 22:24:05 -0000 1.54.2.6.4.7
***************
*** 367,375 ****
const locale&
locale::classic()
{
! static _STL_mutex_lock __lock __STL_MUTEX_INITIALIZER;
! _STL_auto_lock __auto(__lock);
!
if (!_S_classic)
{
try
--- 367,373 ----
const locale&
locale::classic()
{
! // Locking protocol: singleton-called-before-threading-starts
if (!_S_classic)
{
try