aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
AgeCommit message (Collapse)AuthorFilesLines
2006-08-18random (class binomial_distribution<>): Add.Paolo Carlini4-49/+474
2006-08-18 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (class binomial_distribution<>): Add. * include/tr1/random.tcc (binomial_distribution<>::operator(), operator<<(std::basic_ostream<>&, const binomial_distribution<>&), operator>>(std::basic_istream<>&, binomial_distribution<>&, binomial_distribution<>::_M_waiting(), binomial_distribution<>:: _M_initialize()): Define. * testsuite/tr1/5_numerical_facilities/random/binomial_distribution/ requirements/typedefs.cc: New. * include/tr1/random (geometric_distribution<>:: geometric_distribution(const _RealType&)): Fix DEBUG_ASSERT limits. * include/tr1/random (poisson_distribution): Add normal_distribution member, adjust consistently; minor tweaks and rearrangements of the arithmetic. (operator>>(std::basic_istream<>&, poisson_distribution<>&)): Move out of line. * include/tr1/random.tcc: Adjust. * include/tr1/random.tcc (normal_distribution<>::operator()): Minor tweaks. From-SVN: r116245
2006-08-18re PR libstdc++/28765 (__gnu_cxx::__vstring::clear() is slow)Paolo Carlini4-1/+16
2006-08-18 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28765 * include/ext/rc_string_base.h (_M_clear): New. * include/ext/sso_string_base.h (_M_clear): Likewise. * include/ext/vstring.h (clear): Use it. From-SVN: r116240
2006-08-15random (poisson_distribution<>::_M_initialize): Add.Paolo Carlini3-61/+56
2006-08-15 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (poisson_distribution<>::_M_initialize): Add. (poisson_distribution<>::poisson_distribution(const _RealType&): Use it. (operator>>(std::basic_istream<>&, poisson_distribution<>&)): Likewise. (poisson_distribution<>::_M_large): Remove. * include/tr1/random.tcc (poisson_distribution<>::_M_initialize): Define. (operator<<(std::basic_ostream<>&, const poisson_distribution<>&)): Do not output the constants. * include/tr1/random (operator>>(std::basic_istream<>&, gamma_distribution&)): Minor tweak. * include/tr1/random.tcc (poisson_distribution<>::operator()): Minor tweak. * include/tr1/random: Consistently, all data members private. From-SVN: r116155
2006-08-15random.tcc (mersenne_twister<>::operator()): Revert last change (per ↵Paolo Carlini2-4/+10
gcc-patches/2006-08/msg00484.html). 2006-08-15 Paolo Carlini <pcarlini@suse.de> * include/tr1/random.tcc (mersenne_twister<>::operator()): Revert last change (per gcc-patches/2006-08/msg00484.html). From-SVN: r116151
2006-08-15random (class poisson_distribution<>): Add.Paolo Carlini5-15/+353
2006-08-14 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (class poisson_distribution<>): Add. * include/tr1/random.tcc (poisson_distribution<>::operator(), operator<<(std::basic_ostream<>&, const poisson_distribution<>&), operator>>(std::basic_istream<>&, poisson_distribution<>&, poisson_distribution<>::poisson_distribution(const _RealType&)): Define. * testsuite/tr1/5_numerical_facilities/random/poisson_distribution/ requirements/typedefs.cc: New. * include/tr1/random.tcc (mersenne_twister<>::operator()): Tweak a bit for efficiency. * include/tr1/random.tcc (operator<<(std::basic_ostream<>&, const normal_distribution<>&), operator>>(std::basic_istream<>&, normal_distribution<>&)): Do not output _M_saved unnecessarily. * include/tr1/random: Trivial formatting fixes. * include/tr1/cmath: Likewise. From-SVN: r116149
2006-08-11stl_bvector.h (__fill_bvector(_Bit_iterator, _Bit_iterator, bool)): New.Paolo Carlini2-5/+17
2006-08-11 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_bvector.h (__fill_bvector(_Bit_iterator, _Bit_iterator, bool)): New. (fill(_Bit_iterator, _Bit_iterator, const bool&)): Use it. From-SVN: r116081
2006-08-10random.tcc (gamma_distribution<>::operator()): Fixes from the Errata of ↵Paolo Carlini2-5/+12
Devroye's book. 2006-08-10 Paolo Carlini <pcarlini@suse.de> * include/tr1/random.tcc (gamma_distribution<>::operator()): Fixes from the Errata of Devroye's book. From-SVN: r116061
2006-08-10stl_bvector.h (_Bit_iterator_base::_M_incr(ptrdiff_t)): Tidy a bit, thus ↵Paolo Carlini2-3/+7
reducing generated code size. 2006-08-10 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_bvector.h (_Bit_iterator_base::_M_incr(ptrdiff_t)): Tidy a bit, thus reducing generated code size. From-SVN: r116059
2006-08-09stl_bvector.h (vector<bool>::_M_copy_aligned): New.Paolo Carlini8-30/+474
2006-08-09 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_bvector.h (vector<bool>::_M_copy_aligned): New. (vector<bool>::vector(const vector&), operator=(const vector&), reserve(size_type), _M_fill_insert(iterator, size_type, bool), _M_insert_range(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Use it. * testsuite/performance/23_containers/copy_construct/ vector_bool.cc: New. * testsuite/23_containers/vector/bool/cons/1.cc: New. * testsuite/23_containers/vector/bool/cons/2.cc: Likewise. * include/bits/stl_bvector.h (vector<bool>::_M_fill): Remove. (fill(_Bit_iterator, _Bit_iterator, const bool&)): New. (vector<bool>::_M_fill_insert(iterator, size_type, bool)): Adjust. * include/bits/stl_bvector.h (_M_initialize_range(_InputIterator, _InputIterator, std::input_iterator_tag)): Remove redundant assignments. * include/bits/stl_algo.h (find(istreambuf_iterator<>, istreambuf_iterator<>, _CharT)): Adjust signature. * include/bits/streambuf_iterator.h: Likewise. * include/std/std_streambuf.h: Likewise. From-SVN: r116049
2006-08-09stl_algobase.h (fill(const _Deque_iterator<>&, const _Deque_iterator<>&, ↵Paolo Carlini4-26/+34
const _Tp&)): Move... 2006-08-09 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h (fill(const _Deque_iterator<>&, const _Deque_iterator<>&, const _Tp&)): Move... * include/bits/deque.tcc: ... here. * include/bits/stl_deque.h: Declare. From-SVN: r116034
2006-08-06re PR libstdc++/16611 (Terrible code generated for vector<bool>)Paolo Carlini2-2/+15
2006-08-06 Paolo Carlini <pcarlini@suse.de> PR libstdc++/16611 * include/bits/stl_bvector.h (vector<bool>::operator[], vector<bool>::operator[] const): Do not use iterator::operator+, hand code. From-SVN: r115972
2006-08-05re PR libstdc++/28587 (vector<bool> is extremely slow (900x slower than it ↵Paolo Carlini5-2/+384
should be)) 2006-08-05 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28587 * include/bits/stl_bvector.h (vector<bool>::_M_fill): New. (vector<bool>::_M_fill_insert): Use it. * testsuite/performance/23_containers/resize/vector_bool.cc: New. * testsuite/23_containers/vector/bool/modifiers/insert/1.cc: New. * testsuite/23_containers/vector/bool/capacity/1.cc: Likewise. From-SVN: r115947
2006-08-04stl_queue.h (priority_queue<>::push, [...]): Remove try/catch, just follow ↵Paolo Carlini2-20/+10
the letter of the Standard. 2006-08-04 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_queue.h (priority_queue<>::push, priority_queue<>::pop): Remove try/catch, just follow the letter of the Standard. From-SVN: r115923
2006-08-03stl_queue.h: Trivial formatting fixes.Paolo Carlini3-26/+31
2006-08-03 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_queue.h: Trivial formatting fixes. * include/bits/stl_stack.h: Likewise. From-SVN: r115911
2006-08-01tr1.html: Update.Ed Smith-Rowland2-24/+28
2006-08-01 Ed Smith-Rowland <3dw4rd@verizon.net> * docs/html/ext/tr1.html: Update. From-SVN: r115860
2006-07-31locale_facets.tcc (num_put<>::_M_insert_float): Find the decimal point in ↵Paolo Carlini2-14/+16
cs, instead of ws; tidy. 2006-07-31 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_put<>::_M_insert_float): Find the decimal point in cs, instead of ws; tidy. From-SVN: r115840
2006-07-30codevt_specializations.h (__iconv_adaptor): Use identifier _Tp instead of _T ↵Roger Sayle2-3/+8
in template argument to avoid conflict. * include/ext/codevt_specializations.h (__iconv_adaptor): Use identifier _Tp instead of _T in template argument to avoid conflict. From-SVN: r115823
2006-07-30stl_algo.h (stable_sort): Uglify the buf variable.Paolo Carlini3-13/+21
2006-07-30 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algo.h (stable_sort): Uglify the buf variable. * include/bits/stl_tempbuf.h (_Temporary_buffer<>:: _M_initialize_buffer): Uglify the val parameter. From-SVN: r115820
2006-07-28PR libstdc++/19664 round 3Benjamin Kosnik22-1499/+1441
2006-07-27 Benjamin Kosnik <bkoz@wells.artheist.org> PR libstdc++/19664 round 3 * include/Makefile.am (tr1_headers): Add hashtable_policy.h. * include/Makefile.in: Regenerate. * include/tr1/hashtable: Move policy classes into... * include/tr1/hashtable_policy.h: ... this. New. * src/globals_locale.cc: Move contents.... * src/locale_init.cc: ... to here, put in anonymous namespace. * src/Makefile.am: Remove globals_locale.cc. * src/Makefile.in: Regenerate. * src/locale.cc: Convert __gnu_internal to anonymous namespace. * src/debug.cc: Same. * src/ext-inst.cc: Same. * src/mt_allocator.cc: Same. * src/pool_allocator.cc: Same. * include/tr1/random: Convert std::tr1::_Private to anonymous namespace. * include/tr1/random.tcc: Same. * include/tr1/hashtable: Move ::Internal to std::tr1::detail and enclose bits that can actually be internal in in anonymous namespace. * include/tr1/unordered_set: Adjust explicit qualifications for namespace changes. * include/tr1/unordered_map: Same. * include/tr1/cmath: Convert __gnu_internal to nested detail namespace. * include/bits/cpp_type_traits.h: Move __type_type into anonymous namespace. * include/ext/rope: Change _Rope_constants to anonymous namespace. * include/ext/ropeimpl.h: Same. * src/ext-inst.cc: Same. From-SVN: r115790
2006-07-24cinttypes: Simply protect everything with _GLIBCXX_USE_C99_INTTYPES_TR1.Paolo Carlini4-13/+13
2006-07-24 Paolo Carlini <pcarlini@suse.de> * include/tr1/cinttypes: Simply protect everything with _GLIBCXX_USE_C99_INTTYPES_TR1. * include/tr1/cfenv: Likewise with _GLIBCXX_USE_C99_FENV_TR1. * include/tr1/cstdint: Likewise with _GLIBCXX_USE_C99_STDINT_TR1. From-SVN: r115715
2006-07-21random: Make include guards consistent.Benjamin Kosnik5-13/+20
2006-07-21 Benjamin Kosnik <bkoz@redhat.com> * include/tr1/random: Make include guards consistent. * include/tr1/unordered_map: Same. * include/tr1/hashtable: Same. * include/tr1/unordered_set: Same. From-SVN: r115656
2006-07-21re PR target/26792 (need to use autoconf when using newly-added libgcc ↵Steve Ellcey13-0/+134
functions) PR target/26792 * configure.ac: Use GCC_CHECK_UNWIND_GETIPINFO to define HAVE_GETIPINFO. * aclocal.m4: Add include of ../config/unwind_ipinfo.m4. * config.h.in: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * libmath/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. * po/Makefile.in: Regenerate. * libsupc++/eh_personality.cc: Check HAVE_GETIPINFO. From-SVN: r115654
2006-07-21eh_personality.cc: Wrap extern C function definitions in namespace __cxxabiv1.Jason Merrill2-0/+10
* libsupc++/eh_personality.cc: Wrap extern C function definitions in namespace __cxxabiv1. From-SVN: r115652
2006-07-21re PR libgcj/28426 (libgcj header files installed in wrong location in cross ↵David Daney2-0/+6
build) libstdc++-v3/ PR libgcj/28426 * acinclude.m4: Added a comment. config/ PR libgcj/28426 * gxx-include-dir.m4: Use target_alias in path for cross build. libjava/ PR libgcj/28426 * configure: Regenerated. From-SVN: r115650
2006-07-20PR libstdc++/19664 round 1Benjamin Kosnik23-24/+241
2006-07-20 Benjamin Kosnik <bkoz@redhat.com> Jakub Jelinek <jakub@redhat.com> PR libstdc++/19664 round 1 * acinclude.m4 (GLIBCXX_ENABLE_VISIBILITY): Check it. * configure.ac: Use it. * configure: Regenerate. * docs/html/configopts.html: Document it. * include/Makefile.am: Slip in to c++config. * include/Makefile.in: Regenerate. * include/bits/c++config (_GLIBCXX_VISIBILITY): New. (_GLIBCXX_BEGIN_NAMESPACE): Use it. (_GLIBCXX_END_NAMESPACE): Use it. (_GLIBCXX_BEGIN_NESTED_NAMESPACE): Use it. (_GLIBCXX_END_NESTED_NAMESPACE): Use it. * src/debug.cc: Mark __gnu_internal namespace with hidden visibility attribute. * src/ext-inst.cc: Same. * src/globals_io.cc: Same. * src/globals_locale.cc: Same. * src/ios_init.cc: Same. * src/locale.cc: Same. * src/mt_allocator.cc: Same. * src/pool_allocator.cc: Same. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r115632
2006-07-16PR libstdc++/28277 (partial: valarray bits)Paolo Carlini3-24/+91
2006-07-16 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28277 (partial: valarray bits) * include/std/std_valarray.h (valarray<>::shift(int), valarray<>::cshift(int)): Avoid __builtin_alloca with no limit, do the work in place. * testsuite/26_numerics/valarray/28277.cc: New. From-SVN: r115501
2006-07-15PR libstdc++/28277 (partial: ostream bits 1)Paolo Carlini3-20/+80
2006-07-15 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28277 (partial: ostream bits 1) * include/bits/ostream.tcc (operator<<(basic_ostream<_CharT>&, const char*)): Avoid __builtin_alloca with no limit in the widening. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-1.cc: New. From-SVN: r115485
2006-07-14acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): New.Benjamin Kosnik11-129/+239
2006-07-14 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): New. * configure.ac: Use it. * configure: Regenerated. * config.h.in: Regenerated. * configure.host: Simplify. * include/bits/atomicity.h: Adjust macros. * config/cpu/generic/atomicity.h: Move... * config/cpu/generic/atomicity_mutex: New. * config/cpu/generic/atomicity_mutex/atomicity.h: ...here. * config/cpu/generic/atomic_builtins: Rename... * config/cpu/generic/atomicity_builtins: ...to this. * config/cpu/generic/atomicity_builtins/atomicity.h: Moved. * config/cpu/mips/atomicity.h: Comment MIPS II requirement. * scripts/testsuite_flags.in: Make --cxxflags reflect CXXFLAGS. From-SVN: r115456
2006-07-14random (minstd_rand0, [...]): Use unsigned long as implementation-defined type.Paolo Carlini2-4/+9
2006-07-14 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (minstd_rand0, minstd_rand, ranlux3, ranlux4): Use unsigned long as implementation-defined type. From-SVN: r115450
2006-07-14random.tcc (struct _To_Unsigned_Type): Add.Paolo Carlini3-28/+65
2006-07-14 Paolo Carlini <pcarlini@suse.de> * include/tr1/random.tcc (struct _To_Unsigned_Type): Add. (subtract_with_carry<>::seed(_Gen&, false_type)): Use an unsigned type in the loop, fix factor multiplier, take g invocations modulo 2^32. * include/tr1/random.tcc (subtract_with_carry<>:: seed(unsigned long)): Fix value == 0 special case. * include/tr1/random (struct _Shift): Fix for large shifts. From-SVN: r115439
2006-07-13string_copy_cons_and_dest.cc: New.Paolo Carlini2-0/+65
2006-07-13 Paolo Carlini <pcarlini@suse.de> * testsuite/performance/21_strings/string_copy_cons_and_dest.cc: New. From-SVN: r115425
2006-07-13Makefile.am (pch*_output_anchor): Add.Benjamin Kosnik4-3/+43
2006-07-13 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (pch*_output_anchor): Add. (pch*_output): Use. (CLEANFILES): Use. * include/Makefile.in: Regenerate. * scripts/check_performance: Be verbose on compile error. From-SVN: r115419
2006-07-13Makefile.am: Revert last change.Benjamin Kosnik3-4/+9
2006-07-12 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am: Revert last change. * include/Makefile.in: Same. From-SVN: r115402
2006-07-12Makefile.am (pch_output): Don't precompile extc++.h.Benjamin Kosnik4-5/+13
2006-07-12 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (pch_output): Don't precompile extc++.h. (pch_output_dirs): Same. * include/Makefile.in: Regenerate. * testsuite/lib/libstdc++.exp: Test PCH with stdtr1c++.h. From-SVN: r115379
2006-07-12codecvt_specializations.h: Fix typo in commit for libstdc++/28290.Paolo Carlini2-1/+7
2006-07-11 Paolo Carlini <pcarlini@suse.de> * include/ext/codecvt_specializations.h: Fix typo in commit for libstdc++/28290. From-SVN: r115361
2006-07-12locale_facets.tcc (collate<>::do_transform( const _CharT*, const _CharT*)): ↵Paolo Carlini2-22/+21
Simplify previous fix for libstdc++/28277, always allocate memory dynamically. 2006-07-11 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (collate<>::do_transform( const _CharT*, const _CharT*)): Simplify previous fix for libstdc++/28277, always allocate memory dynamically. From-SVN: r115356
2006-07-11re PR libstdc++/28344 (Use of __alpha in tr1/random breaks Tru64 UNIX bootstrap)Paolo Carlini2-2/+9
2006-07-11 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28344 * include/tr1/random (gamma_distribution<>:: gamma_distribution(const result_type&)): Don't use __alpha as parameter name, a predefined macro on Alpha systems. From-SVN: r115355
2006-07-11re PR libstdc++/28290 (error: 'iconv_t' does not name a type)Paolo Carlini2-2/+20
2006-07-11 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28290 * include/ext/codecvt_specializations.h: Fix, adding missing includes and guards. From-SVN: r115354
2006-07-11PR libstdc++/28277 (partial: collate bits)Paolo Carlini4-28/+160
2006-07-11 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28277 (partial: collate bits) * include/bits/locale_facets.tcc (collate<>::do_transform( const _CharT*, const _CharT*)): Avoid __builtin_alloca with no limit; also avoid multiple calls (in a loop). * testsuite/22_locale/collate/transform/char/28277.cc: New. * testsuite/22_locale/collate/transform/wchar_t/28277.cc: Likewise. From-SVN: r115332
2006-07-10* libsupc++/eh_globals.cc (~__eh_globals_init): Unset _M_init.Mike Stump2-0/+5
From-SVN: r115318
2006-07-10re PR libstdc++/15448 (libstdc++ does not rebuild PCH)Benjamin Kosnik3-49/+66
2006-07-10 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/15448 * include/Makefile.am: Clean up pch rules. * include/Makefile.in: Regenerate. From-SVN: r115312
2006-07-09locale_facets.tcc (__int_to_char<>(_CharT*, long, const _CharT*, ↵Paolo Carlini2-55/+24
ios_base::fmtflags), [...]): Remove. 2006-07-09 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (__int_to_char<>(_CharT*, long, const _CharT*, ios_base::fmtflags), __int_to_char<>(_CharT*, unsigned long, const _CharT*, ios_base::fmtflags), __int_to_char<>(_CharT*, long long, const _CharT*, ios_base::fmtflags), __int_to_char<>(_CharT*, unsigned long long, const _CharT*, ios_base::fmtflags)): Remove. (__int_to_char<>(_CharT*, _ValueT, const _CharT*, ios_base::fmtflags, bool)): Adjust. (num_put<>::_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): Likewise. From-SVN: r115298
2006-07-06random (class gamma_distribution<>): Add.Paolo Carlini4-0/+221
2006-07-06 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (class gamma_distribution<>): Add. * include/tr1/random.tcc (gamma_distribution<>::operator(), operator<<(std::basic_ostream<>&, const gamma_distribution<>&)): Define. * testsuite/tr1/5_numerical_facilities/random/gamma_distribution/ requirements/typedefs.cc: New. From-SVN: r115236
2006-07-06trait.hpp: Format.Benjamin Kosnik8-770/+597
2006-07-06 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/regression/trait/assoc/trait.hpp: Format. * testsuite/util/regression/rand/priority_queue/ rand_regression_test.hpp: Same. * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same. * testsuite/util/regression/rand/ assoc/container_rand_regression_test.hpp: Same. * testsuite/util/regression/priority_queue/common_type.hpp: Same. * testsuite/util/regression/assoc/common_type.hpp: Same. * testsuite/util/regression/basic_type.hpp: Same. From-SVN: r115226
2006-07-06Makefile.am (pch_output): New.Benjamin Kosnik3-11/+28
2006-07-05 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (pch_output): New. (clean-local): Use it. * include/Makefile.in: Regenerate. From-SVN: r115218
2006-07-04random (_Adaptor<>::operator()()): Cast 1 to result_type.Paolo Carlini2-41/+36
2006-07-04 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (_Adaptor<>::operator()()): Cast 1 to result_type. (variate_generator<>::operator()(), variate_generator<>::operator()(_Tp)): Inline. * include/tr1/random: Minor cosmetic changes. From-SVN: r115179
2006-07-03rc_string_base.h (__rc_string_base::_S_max_size): Adjust, take into account ↵Paolo Carlini2-5/+17
rounding in _M_create. 2006-07-03 Paolo Carlini <pcarlini@suse.de> * include/ext/rc_string_base.h (__rc_string_base::_S_max_size): Adjust, take into account rounding in _M_create. (__rc_string_base::_M_create): Add early _S_max_size check. From-SVN: r115158
2006-07-03[multiple changes]Paolo Carlini3-5/+23
2006-07-03 Ian Lance Taylor <ian@airs.com> Paolo Carlini <pcarlini@suse.de> * include/ext/rc_string_base.h (__rc_string_base::_S_max_size): Increase by a factor of two. * include/ext/sso_string_base.h (__sso_string_base::_S_max_size): Likewise. 2006-07-03 Paolo Carlini <pcarlini@suse.de> * include/ext/sso_string_base.h (__sso_string_base::_M_create): Never allocate a string bigger than _S_max_size. From-SVN: r115155
2006-06-29Makefile.am (pch1_input, [...]): Move from pch_*.Benjamin Kosnik7-27/+226
2006-06-29 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (pch1_input, pch1_output_builddir, pch1_outputj_installdir, pch1_source): Move from pch_*. (pch2_input, pch2_output_builddir, pch2_output_installdir, pch2_source): Clone for ext. (pch3_input, pch3_output_builddir, pch3_output_installdir, pch3_source): Clone for tr1. (install-pch): Same. * include/Makefile.in: Regenerate. * include/precompiled: New directory. * include/stdc++.h: Move... * include/precompiled/stdc++.h: ... here. * include/precompiled/stdtr1c++.h: New. * include/precompiled/extc++.h: New. * testsuite/lib/libstdc++.exp (libstdc++_init): Set PCH_CXXFLAGS to -include bits/stdtr1c++.h. From-SVN: r115078
2006-06-29libstdc++.exp (v3_target_compile): Set timeout to 600.Benjamin Kosnik2-0/+6
2006-06-29 Benjamin Kosnik <bkoz@redhat.com> * testsuite/lib/libstdc++.exp (v3_target_compile): Set timeout to 600. From-SVN: r115073