This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: PR libstdc++/14098, PR libstdc++/14097, "avoid thread debacle"
- 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, 11 Feb 2004 00:29:45 -0600 (CST)
- Subject: PATCH: PR libstdc++/14098, PR libstdc++/14097, "avoid thread debacle"
- Reply-to: rittle at labs dot mot dot com
As rolled to 3.4 (since these were obvious; & in case we don't roll
everything as semi-planned). Rebuilt on alpha-unknown-freebsd5.2...
Index: libstdc++-v3/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/ChangeLog,v
retrieving revision 1.2224.2.31
diff -c -r1.2224.2.31 ChangeLog
*** libstdc++-v3/ChangeLog 10 Feb 2004 10:34:05 -0000 1.2224.2.31
--- libstdc++-v3/ChangeLog 11 Feb 2004 05:57:34 -0000
***************
*** 1,3 ****
--- 1,16 ----
+ 2004-02-10 Loren J. Rittle <ljrittle@acm.org>
+
+ PR libstdc++/14098
+ * config/linker-map.gnu: Add typeinfo and typeinfo name for
+ __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.
+
+ PR libstdc++/14097
+ * config/linker-map.gnu: Add typeinfo and typeinfo name for
+ __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >.
+
+ * include/ext/pool_allocator.h: Include c++config.h.
+ * include/ext/mt_allocator.h: Include c++config.h.
+
2004-02-10 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14071
Index: libstdc++-v3/config/linker-map.gnu
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/config/linker-map.gnu,v
retrieving revision 1.52.4.1
diff -c -r1.52.4.1 linker-map.gnu
*** libstdc++-v3/config/linker-map.gnu 23 Jan 2004 16:50:33 -0000 1.52.4.1
--- libstdc++-v3/config/linker-map.gnu 11 Feb 2004 05:57:34 -0000
***************
*** 150,155 ****
--- 150,157 ----
_ZTISt10__num_base;
_ZTISt21__ctype_abstract_baseI[cw]E;
_ZTISt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
+ _ZTIN9__gnu_cxx18stdio_sync_filebufI[cw]St11char_traitsI[cw]EEE;
+ _ZTIN9__gnu_cxx13stdio_filebufI[cw]St11char_traitsI[cw]EEE;
# typeinfo name
_ZTSNSt8ios_base7failureE;
***************
*** 161,166 ****
--- 163,170 ----
_ZTSSt10__num_base;
_ZTSSt21__ctype_abstract_baseI[cw]E;
_ZTSSt23__codecvt_abstract_baseI[cw]c11__mbstate_tE;
+ _ZTSN9__gnu_cxx18stdio_sync_filebufI[cw]St11char_traitsI[cw]EEE;
+ _ZTSN9__gnu_cxx13stdio_filebufI[cw]St11char_traitsI[cw]EEE;
# function-scope static objects requires a guard variable.
_ZGVNSt*;
Index: libstdc++-v3/include/ext/mt_allocator.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/ext/mt_allocator.h,v
retrieving revision 1.8.2.1
diff -c -r1.8.2.1 mt_allocator.h
*** libstdc++-v3/include/ext/mt_allocator.h 2 Feb 2004 19:30:55 -0000 1.8.2.1
--- libstdc++-v3/include/ext/mt_allocator.h 11 Feb 2004 05:57:34 -0000
***************
*** 35,40 ****
--- 35,41 ----
#ifndef _MT_ALLOCATOR_H
#define _MT_ALLOCATOR_H 1
+ #include <bits/c++config.h>
#include <new>
#include <memory>
#include <cstdlib>
Index: libstdc++-v3/include/ext/pool_allocator.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/ext/pool_allocator.h,v
retrieving revision 1.7
diff -c -r1.7 pool_allocator.h
*** libstdc++-v3/include/ext/pool_allocator.h 28 Dec 2003 12:13:15 -0000 1.7
--- libstdc++-v3/include/ext/pool_allocator.h 11 Feb 2004 05:57:34 -0000
***************
*** 47,52 ****
--- 47,53 ----
#ifndef _POOL_ALLOCATOR_H
#define _POOL_ALLOCATOR_H 1
+ #include <bits/c++config.h>
#include <new>
#include <bits/functexcept.h>
#include <bits/stl_threads.h>