[Bug libstdc++/27162] [4.1 regression] search_n uses == when it should use binary_pred

2006-04-14 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2006-04-14 17:35 ---
Subject: Bug 27162

Author: paolo
Date: Fri Apr 14 17:35:06 2006
New Revision: 112957

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112957
Log:
2006-04-14  Douglas Gregor  <[EMAIL PROTECTED]>

PR libstdc++/27162
* include/bits/stl_algo.h (__search_n( _BinaryPredicate,
std::forward_iterator_tag)): Use __binary_pred, not ==.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_algo.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27162



[Bug libstdc++/27162] [4.1 regression] search_n uses == when it should use binary_pred

2006-04-14 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2006-04-14 17:35 ---
Subject: Bug 27162

Author: paolo
Date: Fri Apr 14 17:35:23 2006
New Revision: 112958

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112958
Log:
2006-04-14  Douglas Gregor  <[EMAIL PROTECTED]>

PR libstdc++/27162
* include/bits/stl_algo.h (__search_n( _BinaryPredicate,
std::forward_iterator_tag)): Use __binary_pred, not ==.

Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/include/bits/stl_algo.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27162



[Bug libstdc++/6702] requirements for wchar_t support are too restrictive for Solaris pre 10

2006-04-16 Thread paolo at gcc dot gnu dot org


--- Comment #26 from paolo at gcc dot gnu dot org  2006-04-16 09:06 ---
Subject: Bug 6702

Author: paolo
Date: Sun Apr 16 09:06:46 2006
New Revision: 112983

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112983
Log:
2006-04-16  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/6702 (again)
* acinclude.m4 (GLIBCXX_ENABLE_C99): Don't check non-C99
wchar_t functions...
(GLIBCXX_ENABLE_WCHAR_T): ... do that here.
* configure.ac: Adjust order of checks.
* configure: Regenerate.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/acinclude.m4
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6702



[Bug libstdc++/26424] tr1/unordered vs 64-bit machines

2006-04-19 Thread paolo at gcc dot gnu dot org


--- Comment #5 from paolo at gcc dot gnu dot org  2006-04-19 22:58 ---
Subject: Bug 26424

Author: paolo
Date: Wed Apr 19 22:58:23 2006
New Revision: 113100

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113100
Log:
2006-04-19  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/26424
* include/tr1/hashtable (X<>::primes): Extend for 64-bit machines.
(X<>::n_primes): Adjust.
(prime_rehash_policy::next_bkt, bkt_for_elements, need_rehash): Adjust.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1/hashtable


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26424



[Bug libstdc++/26424] tr1/unordered vs 64-bit machines

2006-04-21 Thread paolo at gcc dot gnu dot org


--- Comment #6 from paolo at gcc dot gnu dot org  2006-04-21 17:50 ---
Subject: Bug 26424

Author: paolo
Date: Fri Apr 21 17:49:48 2006
New Revision: 113143

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113143
Log:
2006-04-21  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/26424
* include/tr1/hashtable (X<>::primes): Extend for 64-bit machines.
(X<>::n_primes): Adjust.
(prime_rehash_policy::next_bkt, bkt_for_elements, need_rehash): Adjust.

Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/include/tr1/hashtable


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26424



[Bug libstdc++/27199] ptrdiff_t and size_t outside of namespace std

2006-04-23 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2006-04-23 14:54 ---
Subject: Bug 27199

Author: paolo
Date: Sun Apr 23 14:54:26 2006
New Revision: 113195

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113195
Log:
2006-04-23  Marc Glisse  <[EMAIL PROTECTED]>

PR libstdc++/27199
* ext/pool_allocator.h: Add using declarations for size_t, ptrdiff_t.
* ext/bitmap_allocator.h: Likewise; qualify with std::.
* ext/new_allocator.h: Likewise.
* ext/malloc_allocator.h: Likewise.
* ext/array_allocator.h: Likewise.
* ext/mt_allocator.h: Likewise.
* ext/functional: Likewise for size_t.
* ext/debug_allocator.h: Likewise.
* bits/char_traits.h: Qualify with std:: size_t.
* debug/hash_multimap.h: Likewise.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/char_traits.h
trunk/libstdc++-v3/include/debug/hash_multimap.h
trunk/libstdc++-v3/include/ext/array_allocator.h
trunk/libstdc++-v3/include/ext/bitmap_allocator.h
trunk/libstdc++-v3/include/ext/debug_allocator.h
trunk/libstdc++-v3/include/ext/functional
trunk/libstdc++-v3/include/ext/malloc_allocator.h
trunk/libstdc++-v3/include/ext/mt_allocator.h
trunk/libstdc++-v3/include/ext/new_allocator.h
trunk/libstdc++-v3/include/ext/pool_allocator.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27199



[Bug libstdc++/6702] requirements for wchar_t support are too restrictive for Solaris pre 10

2006-05-03 Thread paolo at gcc dot gnu dot org


--- Comment #27 from paolo at gcc dot gnu dot org  2006-05-03 17:00 ---
Subject: Bug 6702

Author: paolo
Date: Wed May  3 17:00:18 2006
New Revision: 113498

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113498
Log:
2006-05-03  Paolo Carlini  <[EMAIL PROTECTED]>

* acinclude.m4 (GLIBCXX_ENABLE_WCHAR_T): Always check the
presence of wctype.h, for use in GLIBCXX_ENABLE_C99.
* configure: Regenerate.

2006-05-03  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/6702 (again)
* acinclude.m4 (GLIBCXX_ENABLE_C99): Don't check non-C99
wchar_t functions...
(GLIBCXX_ENABLE_WCHAR_T): ... do that here.
* configure.ac: Adjust order of checks.
* configure: Regenerate.

Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/acinclude.m4
branches/gcc-4_1-branch/libstdc++-v3/configure
branches/gcc-4_1-branch/libstdc++-v3/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6702



[Bug libstdc++/27404] Rope iterators are not InputIterators

2006-05-04 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2006-05-04 09:38 ---
Subject: Bug 27404

Author: paolo
Date: Thu May  4 09:37:56 2006
New Revision: 113519

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113519
Log:
2006-05-04  Douglas Gregor  <[EMAIL PROTECTED]>

PR libstdc++/27404
* include/ext/rope (_Rope_const_iterator<>::operator*() const,
_Rope_iterator<>::operator*() const): Add.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/ext/rope


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27404



[Bug libstdc++/24704] __gnu_cxx::__exchange_and_add is called even for single threaded applications

2006-05-24 Thread paolo at gcc dot gnu dot org


--- Comment #25 from paolo at gcc dot gnu dot org  2006-05-24 16:37 ---
Subject: Bug 24704

Author: paolo
Date: Wed May 24 16:37:42 2006
New Revision: 114044

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114044
Log:
2006-05-24  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24704
* include/bits/atomicity.h (__exchange_and_add_single,
__atomic_add_single): New, single thread versions of the atomic
functions.
(__exchange_and_add_dispatch, __atomic_add_dispatch): New,
depending on __GTHREADS and __gthread_active_p() dispatch either
to the above or to the existing atomic functions.
* include/ext/pool_allocator.h: Update callers.
* include/ext/rc_string_base.h: Likewise.
* include/bits/locale_classes.h: Likewise.
* include/bits/basic_string.h: Likewise.
* include/bits/ios_base.h: Likewise.
* include/tr1/boost_shared_ptr.h: Likewise.
* src/ios.cc: Likewise.
* src/locale.cc: Likewise.
* src/ios_init.cc: Likewise.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/atomicity.h
trunk/libstdc++-v3/include/bits/basic_string.h
trunk/libstdc++-v3/include/bits/ios_base.h
trunk/libstdc++-v3/include/bits/locale_classes.h
trunk/libstdc++-v3/include/ext/pool_allocator.h
trunk/libstdc++-v3/include/ext/rc_string_base.h
trunk/libstdc++-v3/include/tr1/boost_shared_ptr.h
trunk/libstdc++-v3/src/ios.cc
trunk/libstdc++-v3/src/ios_init.cc
trunk/libstdc++-v3/src/locale.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24704



[Bug libstdc++/24692] Atomic builtins for v3

2006-05-29 Thread paolo at gcc dot gnu dot org


--- Comment #16 from paolo at gcc dot gnu dot org  2006-05-29 20:00 ---
Subject: Bug 24692

Author: paolo
Date: Mon May 29 20:00:29 2006
New Revision: 114215

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114215
Log:
2006-05-29  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24692
* include/bits/atomicity.h (__exchange_and_add_multi,
__atomic_add_multi): New, depending on _GLIBCXX_ATOMIC_BUILTINS,
inline the atomic builtins.
(__exchange_and_add_dispatch, __atomic_add_dispatch): Adjust.
* configure.ac: Define _GLIBCXX_ATOMIC_BUILTINS when the atomic
builtins are available.
* configure: Regenerate.
* config.h.in: Likewise.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config.h.in
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.ac
trunk/libstdc++-v3/include/bits/atomicity.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24692



[Bug libstdc++/27867] compile error in repeated application of valarray<>::operator==

2006-06-04 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2006-06-04 09:33 ---
Subject: Bug 27867

Author: paolo
Date: Sun Jun  4 09:32:56 2006
New Revision: 114356

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114356
Log:
2006-06-04  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/27867
* include/bits/valarray_before.h (struct _BinClos<_Oper, _ValArray,
_ValArray, _Tp, _Tp>): Fix value_type typedef.
* testsuite/26_numerics/valarray/27867.cc: New.

Added:
trunk/libstdc++-v3/testsuite/26_numerics/valarray/27867.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/valarray_before.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27867



[Bug libstdc++/26970] -O3 -Wformat=2 complains about floats written to ostream

2006-06-12 Thread paolo at gcc dot gnu dot org


--- Comment #8 from paolo at gcc dot gnu dot org  2006-06-12 23:24 ---
Subject: Bug 26970

Author: paolo
Date: Mon Jun 12 23:24:22 2006
New Revision: 114591

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114591
Log:
2006-06-12  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/26970
* config/locale/gnu/c_locale.h (__convert_from_v<>): Change to
variadic function, instead of template function.
* config/locale/generic/c_locale.h (__convert_from_v<>): Likewise.
* include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
Adjust.
(money_put<>::do_put(long double)): Likewise.
* src/locale-misc-inst.cc: Remove.
* src/Makefile.am: Adjust.
* src/Makefile.in: Regenerate.

Removed:
trunk/libstdc++-v3/src/locale-misc-inst.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/locale/generic/c_locale.h
trunk/libstdc++-v3/config/locale/gnu/c_locale.h
trunk/libstdc++-v3/include/bits/locale_facets.tcc
trunk/libstdc++-v3/src/Makefile.am
trunk/libstdc++-v3/src/Makefile.in


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26970



[Bug libstdc++/28277] __builtin_alloca with no limit in libstdc++

2006-07-11 Thread paolo at gcc dot gnu dot org


--- Comment #8 from paolo at gcc dot gnu dot org  2006-07-11 11:21 ---
Subject: Bug 28277

Author: paolo
Date: Tue Jul 11 11:21:38 2006
New Revision: 115332

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115332
Log:
2006-07-11  Paolo Carlini  <[EMAIL PROTECTED]>

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.

Added:
trunk/libstdc++-v3/testsuite/22_locale/collate/transform/char/28277.cc
trunk/libstdc++-v3/testsuite/22_locale/collate/transform/wchar_t/28277.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/locale_facets.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28277



[Bug libstdc++/28344] [4.2 Regression] Use of __alpha in tr1/random breaks Tru64 UNIX bootstrap

2006-07-11 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2006-07-11 22:09 ---
Subject: Bug 28344

Author: paolo
Date: Tue Jul 11 22:08:56 2006
New Revision: 115355

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115355
Log:
2006-07-11  Paolo Carlini  <[EMAIL PROTECTED]>

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.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1/random


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28344



[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.

2006-07-12 Thread paolo at gcc dot gnu dot org


--- Comment #28 from paolo at gcc dot gnu dot org  2006-07-12 16:03 ---
Subject: Bug 27878

Author: paolo
Date: Wed Jul 12 16:02:46 2006
New Revision: 115374

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115374
Log:
2006-07-12  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/27878
* doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
x < 19, vs wchar_t support.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/install.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878



[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.

2006-07-12 Thread paolo at gcc dot gnu dot org


--- Comment #29 from paolo at gcc dot gnu dot org  2006-07-12 16:10 ---
Subject: Bug 27878

Author: paolo
Date: Wed Jul 12 16:10:12 2006
New Revision: 115375

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115375
Log:
2006-07-12  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/27878
* doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
x < 19, vs wchar_t support.

Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/doc/install.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878



[Bug libstdc++/28277] __builtin_alloca with no limit in libstdc++

2006-07-15 Thread paolo at gcc dot gnu dot org


--- Comment #9 from paolo at gcc dot gnu dot org  2006-07-15 20:30 ---
Subject: Bug 28277

Author: paolo
Date: Sat Jul 15 20:30:50 2006
New Revision: 115485

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115485
Log:
2006-07-15  Paolo Carlini  <[EMAIL PROTECTED]>

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.


Added:
   
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-1.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/ostream.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28277



[Bug libstdc++/28277] __builtin_alloca with no limit in libstdc++

2006-07-16 Thread paolo at gcc dot gnu dot org


--- Comment #10 from paolo at gcc dot gnu dot org  2006-07-16 15:39 ---
Subject: Bug 28277

Author: paolo
Date: Sun Jul 16 15:38:59 2006
New Revision: 115501

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115501
Log:
2006-07-16  Paolo Carlini  <[EMAIL PROTECTED]>

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.

Added:
trunk/libstdc++-v3/testsuite/26_numerics/valarray/28277.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/std_valarray.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28277



[Bug libstdc++/37986] std::tr1::variate_generator does not conform to TR1.

2008-11-11 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2008-11-11 14:32 ---
Subject: Bug 37986

Author: paolo
Date: Tue Nov 11 14:31:48 2008
New Revision: 141769

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141769
Log:
2008-11-11  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/37986
* include/tr1_impl/random (struct _Adaptor): Use remove_pointer
and remove_reference on _Engine.
* testsuite/tr1/5_numerical_facilities/random/variate_generator/
37986.cc: New.

Added:
   
trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/random/variate_generator/37986.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1_impl/random


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37986



[Bug libstdc++/37986] std::tr1::variate_generator does not conform to TR1.

2008-11-12 Thread paolo at gcc dot gnu dot org


--- Comment #5 from paolo at gcc dot gnu dot org  2008-11-12 10:00 ---
Subject: Bug 37986

Author: paolo
Date: Wed Nov 12 09:59:27 2008
New Revision: 141784

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141784
Log:
2008-11-12  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/37986 (cont)
* include/tr1_impl/random (struct _Adaptor): Use only remove_reference
on _Engine.
(struct _Adaptor<_Engine*, _Distribution>): Add.
* testsuite/tr1/5_numerical_facilities/random/variate_generator/
37986.cc: Extend.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1_impl/random
   
trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/random/variate_generator/37986.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37986



[Bug libstdc++/38000] [4.3/4.4 Regression] System header files not found once -isystem /usr/include is used

2008-11-12 Thread paolo at gcc dot gnu dot org


--- Comment #6 from paolo at gcc dot gnu dot org  2008-11-13 00:08 ---
Subject: Bug 38000

Author: paolo
Date: Thu Nov 13 00:06:55 2008
New Revision: 141812

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141812
Log:
2008-11-13  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38000
* include/c_global/csignal: Do not use include_next.
* include/c_global/cstdlib: Likewise.
* include/c_global/cstdio: Likewise.
* include/c_global/cstdarg: Likewise.
* include/c_global/cctype: Likewise.
* include/c_global/cerrno: Likewise.
* include/c_global/cmath: Likewise.
* include/c_global/clocale: Likewise.
* include/c_global/climits: Likewise.
* include/c_global/cassert: Likewise.
* include/c_global/csetjmp: Likewise.
* include/c_global/cwchar: Likewise.
* include/c_global/cfloat: Likewise.
* include/c_global/cstdbool: Likewise.
* include/c_global/cstring: Likewise.
* include/c_global/cstddef: Likewise.
* include/c_global/cwctype: Likewise.
* include/tr1/cstdbool: Likewise.
* include/tr1_impl/cinttypes: Do not include .
* include/c_global/cinttypes: Do it here.
* include/tr1/cinttypes: Likewise.
* include/tr1_impl/cfenv: Do not include .
* include/c_global/cfenv: Do it here.
* include/tr1/cfenv: Likewise.
* include/tr1_impl/cstdint: Do not include .
* include/c_global/cstdint: Do it here.
* include/tr1/cstdint: Likewise.
* include/c_compatibility/fenv.h: Include .
* include/c_compatibility/stdint.h: Include .
* include/c_compatibility/inttypes.h: Include .

* include/c_compatibility/math.h: Minor tweak, add comment.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/c_compatibility/fenv.h
trunk/libstdc++-v3/include/c_compatibility/inttypes.h
trunk/libstdc++-v3/include/c_compatibility/math.h
trunk/libstdc++-v3/include/c_compatibility/stdint.h
trunk/libstdc++-v3/include/c_global/cassert
trunk/libstdc++-v3/include/c_global/cctype
trunk/libstdc++-v3/include/c_global/cerrno
trunk/libstdc++-v3/include/c_global/cfenv
trunk/libstdc++-v3/include/c_global/cfloat
trunk/libstdc++-v3/include/c_global/cinttypes
trunk/libstdc++-v3/include/c_global/climits
trunk/libstdc++-v3/include/c_global/clocale
trunk/libstdc++-v3/include/c_global/cmath
trunk/libstdc++-v3/include/c_global/csetjmp
trunk/libstdc++-v3/include/c_global/csignal
trunk/libstdc++-v3/include/c_global/cstdarg
trunk/libstdc++-v3/include/c_global/cstdbool
trunk/libstdc++-v3/include/c_global/cstddef
trunk/libstdc++-v3/include/c_global/cstdint
trunk/libstdc++-v3/include/c_global/cstdio
trunk/libstdc++-v3/include/c_global/cstdlib
trunk/libstdc++-v3/include/c_global/cstring
trunk/libstdc++-v3/include/c_global/ctime
trunk/libstdc++-v3/include/c_global/cwchar
trunk/libstdc++-v3/include/c_global/cwctype
trunk/libstdc++-v3/include/tr1/cfenv
trunk/libstdc++-v3/include/tr1/cinttypes
trunk/libstdc++-v3/include/tr1/cstdbool
trunk/libstdc++-v3/include/tr1/cstdint
trunk/libstdc++-v3/include/tr1_impl/cfenv
trunk/libstdc++-v3/include/tr1_impl/cinttypes
trunk/libstdc++-v3/include/tr1_impl/cstdint


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38000



[Bug libstdc++/38196] num_put<>::do_put(bool) performs 'internal' padding incorrectly when boolalpha==true

2008-11-20 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2008-11-20 16:01 ---
Subject: Bug 38196

Author: paolo
Date: Thu Nov 20 16:00:17 2008
New Revision: 142048

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142048
Log:
2008-11-20  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38196
* include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
ios_base&, char_type, bool)): Fix.
* testsuite/22_locale/num_put/put/char/38196.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.

Added:
trunk/libstdc++-v3/testsuite/22_locale/num_put/put/char/38196.cc
trunk/libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/38196.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/locale_facets.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38196



[Bug libstdc++/38210] num_put<>::do_put(void*) performs padding incorrectly when adjustfield==internal

2008-11-21 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2008-11-21 10:00 ---
Subject: Bug 38210

Author: paolo
Date: Fri Nov 21 09:59:17 2008
New Revision: 142085

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142085
Log:
2008-11-21  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38210
* include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
ios_base&, char_type, const void*)): Fix.
* testsuite/22_locale/num_put/put/char/38210.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.

Added:
trunk/libstdc++-v3/testsuite/22_locale/num_put/put/char/38210.cc
trunk/libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/38210.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/locale_facets.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38210



[Bug other/38214] Unrecognized command line option "-fipa-marix-reorg" although it's documented

2008-11-21 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2008-11-21 16:22 ---
Subject: Bug 38214

Author: paolo
Date: Fri Nov 21 16:21:33 2008
New Revision: 142092

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142092
Log:
2008-11-21  Paolo Carlini  <[EMAIL PROTECTED]>

PR other/38214
* doc/invoke.texi (Optimization Options): Fix typo.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/invoke.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38214



[Bug other/38214] Unrecognized command line option "-fipa-marix-reorg" although it's documented

2008-11-21 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2008-11-21 16:23 ---
Subject: Bug 38214

Author: paolo
Date: Fri Nov 21 16:21:50 2008
New Revision: 142093

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142093
Log:
2008-11-21  Paolo Carlini  <[EMAIL PROTECTED]>

PR other/38214
* doc/invoke.texi (Optimization Options): Fix typo.

Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/doc/invoke.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38214



[Bug libstdc++/38244] [4.4 Regression] bitset initialization from 0 rejected.

2008-11-24 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2008-11-24 11:14 ---
Subject: Bug 38244

Author: paolo
Date: Mon Nov 24 11:13:44 2008
New Revision: 142152

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142152
Log:
2008-11-24  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38244
* include/std/bitset (bitset<>::bitset(const char*, char, char)):
Remove, do not implement DR 778.
* doc/xml/manual/intro.xml: Remove entry for DR 778.
* testsuite/23_containers/bitset/cons/2.cc: Remove.
* testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
* testsuite/23_containers/bitset/cons/38244.cc: Add.

Added:
trunk/libstdc++-v3/testsuite/23_containers/bitset/cons/38244.cc
Removed:
trunk/libstdc++-v3/testsuite/23_containers/bitset/cons/2.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/doc/xml/manual/intro.xml
trunk/libstdc++-v3/include/std/bitset
trunk/libstdc++-v3/testsuite/23_containers/bitset/cons/dr396.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38244



[Bug libstdc++/38244] [4.4 Regression] bitset initialization from 0 rejected.

2008-11-24 Thread paolo at gcc dot gnu dot org


--- Comment #6 from paolo at gcc dot gnu dot org  2008-11-24 11:21 ---
Subject: Bug 38244

Author: paolo
Date: Mon Nov 24 11:19:39 2008
New Revision: 142153

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142153
Log:
2008-11-24  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38244 (cont, debug bits)
* include/debug/bitset (bitset<>::bitset(const char*, char, char)):
Remove, do not implement DR 778.


Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/debug/bitset


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38244



[Bug libstdc++/38365] Locale, constructed from named and unnamed locales, become named

2008-12-02 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2008-12-02 10:58 ---
Subject: Bug 38365

Author: paolo
Date: Tue Dec  2 10:57:22 2008
New Revision: 142349

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142349
Log:
2008-12-02  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38365
* src/localename.cc (locale::locale(const locale&, const locale&,
category)): Fix.
* testsuite/22_locale/locale/cons/38365.cc: New.

Added:
trunk/libstdc++-v3/testsuite/22_locale/locale/cons/38365.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/src/localename.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38365



[Bug libstdc++/38365] Locale, constructed from named and unnamed locales, become named

2008-12-02 Thread paolo at gcc dot gnu dot org


--- Comment #7 from paolo at gcc dot gnu dot org  2008-12-02 15:04 ---
Subject: Bug 38365

Author: paolo
Date: Tue Dec  2 15:02:53 2008
New Revision: 142358

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142358
Log:
2008-12-02  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38365 (cont)
* src/localename.cc (locale::locale(const locale&, const locale&,
category)): Revert last changes.
* src/localename.cc (locale::_Impl::_M_replace_categories(const
_Impl*, category)): Fix here instead; rework.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/src/localename.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38365



[Bug libstdc++/38368] locale(const char* std_name) may create locale with broken facets

2008-12-04 Thread paolo at gcc dot gnu dot org


--- Comment #5 from paolo at gcc dot gnu dot org  2008-12-04 17:17 ---
Subject: Bug 38368

Author: paolo
Date: Thu Dec  4 17:16:27 2008
New Revision: 142439

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142439
Log:
2008-12-04  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38368
* config/locale/gnu/numeric_members.cc (numpunct::
_M_initialize_numpunct, numpunct::_M_initialize_numpunct):
Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
* config/locale/gnu/monetary_members.cc (moneypunct::
_M_initialize_moneypunct, moneypunct::
_M_initialize_moneypunct, moneypunct::
_M_initialize_moneypunct, moneypunct::
_M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
__MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
* testsuite/22_locale/locale/cons/38368.cc: New.

Added:
trunk/libstdc++-v3/testsuite/22_locale/locale/cons/38368.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/locale/gnu/monetary_members.cc
trunk/libstdc++-v3/config/locale/gnu/numeric_members.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38368



[Bug libstdc++/38411] [4.4 Regression] Revision 142439 caused 22_locale/locale/cons/7.cc execution test

2008-12-05 Thread paolo at gcc dot gnu dot org


--- Comment #20 from paolo at gcc dot gnu dot org  2008-12-05 13:09 ---
Subject: Bug 38411

Author: paolo
Date: Fri Dec  5 13:07:53 2008
New Revision: 142472

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142472
Log:
2008-12-05  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38411
* testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
of fr_FR.
* testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
* testsuite/22_locale/locale/cons/7.cc: Likewise.


Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/testsuite/22_locale/locale/cons/7.cc
trunk/libstdc++-v3/testsuite/22_locale/numpunct/members/char/2.cc
trunk/libstdc++-v3/testsuite/22_locale/numpunct/members/wchar_t/2.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38411



[Bug libstdc++/38399] money_get<> read decimal point when frac_digits() <= 0

2008-12-05 Thread paolo at gcc dot gnu dot org


--- Comment #5 from paolo at gcc dot gnu dot org  2008-12-05 18:24 ---
Subject: Bug 38399

Author: paolo
Date: Fri Dec  5 18:23:39 2008
New Revision: 142487

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142487
Log:
2008-12-05  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38399
* include/bits/locale_facets_nonio.tcc (money_get<>::
_M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
string&)): Fix, reject decimal point when frac_digits <= 0.
* testsuite/22_locale/money_get/get/char/38399.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
* testsuite/22_locale/money_get/get/char/5.cc: Adjust.
* testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.

Added:
trunk/libstdc++-v3/testsuite/22_locale/money_get/get/char/38399.cc
trunk/libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/38399.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/locale_facets_nonio.tcc
trunk/libstdc++-v3/testsuite/22_locale/money_get/get/char/5.cc
trunk/libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/5.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38399



[Bug libstdc++/38421] libstdc++-v3/include/tr1/ell_integral.tcc contains __ea identifier

2008-12-06 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2008-12-06 10:26 ---
Subject: Bug 38421

Author: paolo
Date: Sat Dec  6 10:25:24 2008
New Revision: 142519

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142519
Log:
2008-12-06  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/38421
* include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
* doc/xml/manual/appendix_contributing.xml: Add __ea to the list
of badnames.


Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/doc/xml/manual/appendix_contributing.xml
trunk/libstdc++-v3/include/tr1/ell_integral.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38421



[Bug libstdc++/38596] tr1_impl/functional incompatible with -fno-rtti

2008-12-21 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2008-12-21 15:57 ---
Subject: Bug 38596

Author: paolo
Date: Sun Dec 21 15:56:22 2008
New Revision: 142862

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142862
Log:
2008-12-21  Paolo Carlini  

PR libstdc++/38596
* include/tr1_impl/function (function<>::target,
function<>::target_type): Provide only when __GXX_RTTI is defined.
(_Function_base::_M_manager, _Ref_manager<>::_M_manager,
_Function_handler::_M_manager):
Adjust.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1_impl/functional


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38596



[Bug libstdc++/38678] istream::read() calls streambuf::sgetn()

2009-01-01 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2009-01-01 10:09 ---
Subject: Bug 38678

Author: paolo
Date: Thu Jan  1 10:08:31 2009
New Revision: 142994

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142994
Log:
2009-01-01  Paolo Carlini  

PR libstdc++/38678
* include/std/istream (basic_istream<>::_M_read): New.
* include/bits/istream.tcc (basic_istream<>::_M_read): Define.
(basic_istream<>::read, basic_istream<>::readsome): Use it.
* include/std/ostream (basic_ostream<>::_M_write_): New.
(basic_ostream<>::_M_write): Adjust.
* include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
* testsuite/27_io/basic_istream/read/char/38678.cc: New.
* testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
* testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
* testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.

Added:
trunk/libstdc++-v3/testsuite/27_io/basic_istream/read/char/38678.cc
trunk/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/38678.cc
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/write/char/38678.cc
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/write/wchar_t/38678.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/istream.tcc
trunk/libstdc++-v3/include/bits/ostream.tcc
trunk/libstdc++-v3/include/std/istream
trunk/libstdc++-v3/include/std/ostream


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678



[Bug libstdc++/38719] _Fwd_list_iterator::_M_next() returns reference to local memory

2009-01-04 Thread paolo at gcc dot gnu dot org


--- Comment #1 from paolo at gcc dot gnu dot org  2009-01-04 13:55 ---
Subject: Bug 38719

Author: paolo
Date: Sun Jan  4 13:55:25 2009
New Revision: 143052

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143052
Log:
2009-01-04  Paolo Carlini  

PR libstdc++/38719
* include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
_Fwd_list_const_iterator::_M_next): Fix return type.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/forward_list.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38719



[Bug libstdc++/38466] Document std::pair vs. std::swap

2009-01-07 Thread paolo at gcc dot gnu dot org


--- Comment #9 from paolo at gcc dot gnu dot org  2009-01-07 13:01 ---
Subject: Bug 38466

Author: paolo
Date: Wed Jan  7 13:00:48 2009
New Revision: 143154

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143154
Log:
2009-01-07  Paolo Carlini  

PR libstdc++/38466
* include/bits/stl_pair.h: Document C++03 pair vs swap.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_pair.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38466



[Bug libstdc++/38000] [4.3 Regression] System header files not found once -isystem /usr/include is used

2009-01-08 Thread paolo at gcc dot gnu dot org


--- Comment #11 from paolo at gcc dot gnu dot org  2009-01-09 00:00 ---
Subject: Bug 38000

Author: paolo
Date: Fri Jan  9 00:00:17 2009
New Revision: 143194

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143194
Log:
2009-01-08  Paolo Carlini  

Backport from mainline:
2008-11-13  Paolo Carlini  

PR libstdc++/38000
* include/c_global/csignal: Do not use include_next.
* include/c_global/cstdlib: Likewise.
* include/c_global/cstdio: Likewise.
* include/c_global/cstdarg: Likewise.
* include/c_global/cctype: Likewise.
* include/c_global/cerrno: Likewise.
* include/c_global/cmath: Likewise.
* include/c_global/clocale: Likewise.
* include/c_global/climits: Likewise.
* include/c_global/cassert: Likewise.
* include/c_global/csetjmp: Likewise.
* include/c_global/cwchar: Likewise.
* include/c_global/cfloat: Likewise.
* include/c_global/cstdbool: Likewise.
* include/c_global/cstring: Likewise.
* include/c_global/cstddef: Likewise.
* include/c_global/cwctype: Likewise.
* include/tr1/cstdbool: Likewise.
* include/tr1_impl/cinttypes: Do not include .
* include/c_global/cinttypes: Do it here.
* include/tr1/cinttypes: Likewise.
* include/tr1_impl/cfenv: Do not include .
* include/c_global/cfenv: Do it here.
* include/tr1/cfenv: Likewise.
* include/tr1_impl/cstdint: Do not include .
* include/c_global/cstdint: Do it here.
* include/tr1/cstdint: Likewise.
* include/c_compatibility/fenv.h: Include .
* include/c_compatibility/stdint.h: Include .
* include/c_compatibility/inttypes.h: Include .

* include/c_compatibility/math.h: Minor tweak, add comment.

Modified:
branches/gcc-4_3-branch/libstdc++-v3/ChangeLog
branches/gcc-4_3-branch/libstdc++-v3/include/c_compatibility/fenv.h
branches/gcc-4_3-branch/libstdc++-v3/include/c_compatibility/inttypes.h
branches/gcc-4_3-branch/libstdc++-v3/include/c_compatibility/math.h
branches/gcc-4_3-branch/libstdc++-v3/include/c_compatibility/stdint.h
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cassert
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cctype
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cerrno
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cfenv
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cfloat
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cinttypes
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/climits
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/clocale
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cmath
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/csetjmp
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/csignal
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cstdarg
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cstdbool
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cstddef
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cstdint
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cstdio
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cstdlib
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cstring
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/ctime
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cwchar
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cwctype
branches/gcc-4_3-branch/libstdc++-v3/include/tr1/cfenv
branches/gcc-4_3-branch/libstdc++-v3/include/tr1/cinttypes
branches/gcc-4_3-branch/libstdc++-v3/include/tr1/cstdbool
branches/gcc-4_3-branch/libstdc++-v3/include/tr1/cstdint
branches/gcc-4_3-branch/libstdc++-v3/include/tr1_impl/cfenv
branches/gcc-4_3-branch/libstdc++-v3/include/tr1_impl/cinttypes
branches/gcc-4_3-branch/libstdc++-v3/include/tr1_impl/cstdint


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38000



[Bug c++/37554] [4.3/4.4 regression] ICE with invalid cast

2009-01-27 Thread paolo at gcc dot gnu dot org


--- Comment #5 from paolo at gcc dot gnu dot org  2009-01-27 19:47 ---
Subject: Bug 37554

Author: paolo
Date: Tue Jan 27 19:47:28 2009
New Revision: 143711

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143711
Log:
/cp
2009-01-27  Paolo Carlini  

PR c++/37554
* call.c (build_over_call): If convert_for_arg_passing returns
error_mark_node unconditionally return it.

/testsuite
2009-01-27  Paolo Carlini  

PR c++/37554
* g++.dg/parse/crash51.C: New.
* g++.old-deja/g++.pt/crash9.C: Adjust.

Added:
trunk/gcc/testsuite/g++.dg/parse/crash51.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.old-deja/g++.pt/crash9.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37554



[Bug c++/33465] Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not supported by dump_expr

2009-01-30 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2009-01-30 15:03 ---
Subject: Bug 33465

Author: paolo
Date: Fri Jan 30 15:03:10 2009
New Revision: 143790

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143790
Log:
/cp
2009-01-30  Paolo Carlini  

PR c++/33465
* error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR.

/testsuite
2009-01-30  Paolo Carlini  

PR c++/33465
* g++.dg/parse/error34.C: New.
* g++.dg/parse/error35.C: Likewise.

/cp
2009-01-30  Paolo Carlini  

PR c++/38655
* error.c (dump_type_prefix, dump_type_suffix): Handle
FIXED_POINT_TYPE.

/testsuite
2009-01-30  Paolo Carlini  

PR c++/38655
* g++.dg/cpp0x/decltype-38655.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/decltype-38655.C   (with props)
trunk/gcc/testsuite/g++.dg/parse/error34.C
trunk/gcc/testsuite/g++.dg/parse/error35.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/error.c
trunk/gcc/testsuite/ChangeLog

Propchange: trunk/gcc/testsuite/g++.dg/cpp0x/decltype-38655.C
('svn:mergeinfo' added)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33465



[Bug c++/38655] Broken diagnostic: 'fixed_point_type' not supported by dump_type_prefix/dump_type_suffix

2009-01-30 Thread paolo at gcc dot gnu dot org


--- Comment #1 from paolo at gcc dot gnu dot org  2009-01-30 15:03 ---
Subject: Bug 38655

Author: paolo
Date: Fri Jan 30 15:03:10 2009
New Revision: 143790

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143790
Log:
/cp
2009-01-30  Paolo Carlini  

PR c++/33465
* error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR.

/testsuite
2009-01-30  Paolo Carlini  

PR c++/33465
* g++.dg/parse/error34.C: New.
* g++.dg/parse/error35.C: Likewise.

/cp
2009-01-30  Paolo Carlini  

PR c++/38655
* error.c (dump_type_prefix, dump_type_suffix): Handle
FIXED_POINT_TYPE.

/testsuite
2009-01-30  Paolo Carlini  

PR c++/38655
* g++.dg/cpp0x/decltype-38655.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/decltype-38655.C   (with props)
trunk/gcc/testsuite/g++.dg/parse/error34.C
trunk/gcc/testsuite/g++.dg/parse/error35.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/error.c
trunk/gcc/testsuite/ChangeLog

Propchange: trunk/gcc/testsuite/g++.dg/cpp0x/decltype-38655.C
('svn:mergeinfo' added)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38655



[Bug libstdc++/40123] [4.5 Regression] Revision 147395 failed libstc++ tests

2009-05-14 Thread paolo at gcc dot gnu dot org


--- Comment #5 from paolo at gcc dot gnu dot org  2009-05-14 17:56 ---
Subject: Bug 40123

Author: paolo
Date: Thu May 14 17:56:17 2009
New Revision: 147538

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147538
Log:
2009-05-14  Paolo Carlini  

PR libstdc++/40123
* random.tcc (independent_bits_engine<>::operator()()): Use
result_type(1), not 1UL.

* random.tcc (independent_bits_engine<>::operator()()): Use _M_b.max()
and _M_b.min(), instead of this->max() and this->min().

* random.h (_ShiftMin1): Remove, adjust everywhere.

* random.tcc: Minor cosmetic changes.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/random.h
trunk/libstdc++-v3/include/bits/random.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40123



[Bug libstdc++/40160] -fno-rtti vs _GLIBCXX_DEBUG

2009-05-15 Thread paolo at gcc dot gnu dot org


--- Comment #6 from paolo at gcc dot gnu dot org  2009-05-15 22:25 ---
Subject: Bug 40160

Author: paolo
Date: Fri May 15 22:25:24 2009
New Revision: 147599

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147599
Log:
2009-05-15  Paolo Carlini  

PR libstdc++/40160
* include/debug/formatter.h (_Parameter::_Parameter): Don't use
typeid when __GXX_RTTI is undefined.
* src/debug.cc (_Error_formatter::_Parameter::_M_print_field): Adjust
for null _M_variant._M_iterator._M_type,
_M_variant._M_iterator._M_seq_type, _M_variant._M_sequence._M_type.
* testsuite/21_strings/basic_string/40160.cc: New.

Added:
trunk/libstdc++-v3/testsuite/21_strings/basic_string/40160.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/debug/formatter.h
trunk/libstdc++-v3/src/debug.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40160



[Bug c++/40192] [4.4/4.5 Regression] Unable to use std::vector with typedef'd array types

2009-05-18 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2009-05-18 23:16 ---
Subject: Bug 40192

Author: paolo
Date: Mon May 18 23:16:20 2009
New Revision: 147680

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147680
Log:
2009-05-18  Paolo Carlini  

PR libstdc++/40192
* include/bits/stl_construct.h (struct _Destroy_aux): Add.
(_Destroy(_ForwardIterator, _ForwardIterator)): Use the latter.
* testsuite/23_containers/vector/40192.cc: New.


Added:
trunk/libstdc++-v3/testsuite/23_containers/vector/40192.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_construct.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40192



[Bug c++/40192] [4.4/4.5 Regression] Unable to use std::vector with typedef'd array types

2009-05-18 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2009-05-18 23:17 ---
Subject: Bug 40192

Author: paolo
Date: Mon May 18 23:16:48 2009
New Revision: 147681

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147681
Log:
2009-05-18  Paolo Carlini  

PR libstdc++/40192
* include/bits/stl_construct.h (struct _Destroy_aux): Add.
(_Destroy(_ForwardIterator, _ForwardIterator)): Use the latter.
* testsuite/23_containers/vector/40192.cc: New.


Added:
   
branches/gcc-4_4-branch/libstdc++-v3/testsuite/23_containers/vector/40192.cc
Modified:
branches/gcc-4_4-branch/libstdc++-v3/ChangeLog
branches/gcc-4_4-branch/libstdc++-v3/include/bits/stl_construct.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40192



[Bug libstdc++/40184] locale(const char* std_name) can create invalid facets for nonuniform locale

2009-05-19 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2009-05-19 18:20 ---
Subject: Bug 40184

Author: paolo
Date: Tue May 19 18:20:47 2009
New Revision: 147714

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147714
Log:
2009-05-19  Paolo Carlini  

PR libstdc++/40184
* include/bits/locale_classes.h (locale::facet::_S_lc_ctype_c_locale):
Declare...
* config/locale/gnu/c_locale.cc: ... and define.
* config/locale/generic/c_locale.cc: Define.
* src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
Use it.
* testsuite/22_locale/locale/cons/40184.cc: New.

Added:
trunk/libstdc++-v3/testsuite/22_locale/locale/cons/40184.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/locale/generic/c_locale.cc
trunk/libstdc++-v3/config/locale/gnu/c_locale.cc
trunk/libstdc++-v3/include/bits/locale_classes.h
trunk/libstdc++-v3/src/localename.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40184



[Bug libstdc++/40094] FAIL: ext/throw_allocator/deallocate_global.cc execution test

2009-05-21 Thread paolo at gcc dot gnu dot org


--- Comment #9 from paolo at gcc dot gnu dot org  2009-05-22 01:29 ---
Subject: Bug 40094

Author: paolo
Date: Fri May 22 01:28:50 2009
New Revision: 147788

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147788
Log:
2009-05-21  Paolo Carlini  

PR libstdc++/40094
Revert:
2009-05-07  Paolo Carlini  
* include/ext/throw_allocator.h (throw_allocator_base): Avoid
out of line member functions definitions.
(throw_allocator_base::_S_g, _S_map, _S_throw_prob, _S_label):
Remove, use static locals instead.
(throw_allocator_base::do_check_allocated, print_to_string): Declare.
* src/throw_allocator.cc: New.
* src/Makefile.am: Add.
* config/abi/pre/gnu.ver: Add exports.
* src/Makefile.in: Regenerate.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/abi/pre/gnu.ver
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/include/ext/throw_allocator.h
trunk/libstdc++-v3/src/Makefile.am
trunk/libstdc++-v3/src/Makefile.in
trunk/libstdc++-v3/src/throw_allocator.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40094



[Bug libstdc++/40094] FAIL: ext/throw_allocator/deallocate_global.cc execution test

2009-05-21 Thread paolo at gcc dot gnu dot org


--- Comment #12 from paolo at gcc dot gnu dot org  2009-05-22 01:33 ---
Subject: Bug 40094

Author: paolo
Date: Fri May 22 01:32:49 2009
New Revision: 147789

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147789
Log:
2009-05-21  Paolo Carlini  

PR libstdc++/40094
Revert:
2009-05-07  Paolo Carlini  
* include/ext/throw_allocator.h (throw_allocator_base): Avoid
out of line member functions definitions.
(throw_allocator_base::_S_g, _S_map, _S_throw_prob, _S_label):
Remove, use static locals instead.
(throw_allocator_base::do_check_allocated, print_to_string): Declare.
* src/throw_allocator.cc: New.
* src/Makefile.am: Add.
* config/abi/pre/gnu.ver: Add exports.
* src/Makefile.in: Regenerate.

Removed:
trunk/libstdc++-v3/src/throw_allocator.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40094



[Bug libstdc++/40299] Rope + C++0x mode = build error

2009-06-02 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2009-06-02 09:06 ---
Subject: Bug 40299

Author: paolo
Date: Tue Jun  2 09:06:31 2009
New Revision: 148081

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148081
Log:
2009-06-03  Paolo Carlini  

PR libstdc++/40299
* include/ext/memory: Fully qualify calls with __gnu_cxx.
* testsuite/ext/rope/40299.cc: New.

Added:
trunk/libstdc++-v3/testsuite/ext/rope/40299.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/ext/memory


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40299



[Bug libstdc++/40299] Rope + C++0x mode = build error

2009-06-02 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2009-06-02 09:07 ---
Subject: Bug 40299

Author: paolo
Date: Tue Jun  2 09:06:45 2009
New Revision: 148082

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148082
Log:
2009-06-03  Paolo Carlini  

PR libstdc++/40299
* include/ext/memory: Fully qualify calls with __gnu_cxx.
* testsuite/ext/rope/40299.cc: New.

Added:
branches/gcc-4_4-branch/libstdc++-v3/testsuite/ext/rope/40299.cc
Modified:
branches/gcc-4_4-branch/libstdc++-v3/ChangeLog
branches/gcc-4_4-branch/libstdc++-v3/include/ext/memory


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40299



[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons

2009-06-03 Thread paolo at gcc dot gnu dot org


--- Comment #7 from paolo at gcc dot gnu dot org  2009-06-03 10:37 ---
Subject: Bug 40296

Author: paolo
Date: Wed Jun  3 10:37:20 2009
New Revision: 148122

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148122
Log:
2009-06-03  Paolo Carlini  

PR libstdc++/40296
* libsupc++/exception_ptr.h (exception_ptr::operator!,
exception_ptr::operator __safe_bool): Only declare when
_GLIBCXX_EH_PTR_COMPAT is undefined.
* libsupc++/eh_ptr.cc: Define _GLIBCXX_EH_PTR_COMPAT before including
exception_ptr.
* testsuite/18_support/exception_ptr/40296.cc: New.
* testsuite/18_support/nested_exception/throw_with_nested.cc: Adjust.
* testsuite/18_support/nested_exception/cons.cc: Likewise.
* testsuite/18_support/nested_exception/nested_ptr.cc: Likewise.
* testsuite/18_support/exception_ptr/current_exception.cc: Likewise.

Added:
trunk/libstdc++-v3/testsuite/18_support/exception_ptr/40296.cc
Modified:
trunk/libstdc++-v3/libsupc++/eh_ptr.cc
trunk/libstdc++-v3/libsupc++/exception_ptr.h
trunk/libstdc++-v3/testsuite/18_support/exception_ptr/current_exception.cc
trunk/libstdc++-v3/testsuite/18_support/nested_exception/cons.cc
trunk/libstdc++-v3/testsuite/18_support/nested_exception/nested_ptr.cc
   
trunk/libstdc++-v3/testsuite/18_support/nested_exception/throw_with_nested.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40296



[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons

2009-06-03 Thread paolo at gcc dot gnu dot org


--- Comment #8 from paolo at gcc dot gnu dot org  2009-06-03 10:37 ---
Subject: Bug 40296

Author: paolo
Date: Wed Jun  3 10:37:32 2009
New Revision: 148123

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148123
Log:
2009-06-03  Paolo Carlini  

PR libstdc++/40296
* libsupc++/exception_ptr.h (exception_ptr::operator!,
exception_ptr::operator __safe_bool): Only declare when
_GLIBCXX_EH_PTR_COMPAT is undefined.
* libsupc++/eh_ptr.cc: Define _GLIBCXX_EH_PTR_COMPAT before including
exception_ptr.
* testsuite/18_support/exception_ptr/40296.cc: New.
* testsuite/18_support/exception_ptr/current_exception.cc: Adjust.

Added:
   
branches/gcc-4_4-branch/libstdc++-v3/testsuite/18_support/exception_ptr/40296.cc
Modified:
branches/gcc-4_4-branch/libstdc++-v3/ChangeLog
branches/gcc-4_4-branch/libstdc++-v3/libsupc++/eh_ptr.cc
branches/gcc-4_4-branch/libstdc++-v3/libsupc++/exception_ptr.h
   
branches/gcc-4_4-branch/libstdc++-v3/testsuite/18_support/exception_ptr/current_exception.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40296



[Bug libstdc++/40497] invalid std::next / std::prev declaration

2009-06-20 Thread paolo at gcc dot gnu dot org


--- Comment #8 from paolo at gcc dot gnu dot org  2009-06-20 22:27 ---
Subject: Bug 40497

Author: paolo
Date: Sat Jun 20 22:27:04 2009
New Revision: 148751

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148751
Log:
2009-06-20  Paolo Carlini  

PR libstdc++/40497
* include/bits/stl_iterator_base_funcs.h (next, prev): Fix the
signature per the current C++1x draft (N2857).
* testsuite/24_iterators/operations/40497.cc: Add.

Added:
trunk/libstdc++-v3/testsuite/24_iterators/operations/40497.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_iterator_base_funcs.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497



[Bug libstdc++/40497] invalid std::next / std::prev declaration

2009-06-20 Thread paolo at gcc dot gnu dot org


--- Comment #9 from paolo at gcc dot gnu dot org  2009-06-20 22:27 ---
Subject: Bug 40497

Author: paolo
Date: Sat Jun 20 22:27:21 2009
New Revision: 148752

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148752
Log:
2009-06-20  Paolo Carlini  

PR libstdc++/40497
* include/bits/stl_iterator_base_funcs.h (next, prev): Fix the
signature per the current C++1x draft (N2857).
* testsuite/24_iterators/operations/40497.cc: Add.

Added:
   
branches/gcc-4_4-branch/libstdc++-v3/testsuite/24_iterators/operations/40497.cc
Modified:
branches/gcc-4_4-branch/libstdc++-v3/ChangeLog
branches/gcc-4_4-branch/libstdc++-v3/include/bits/stl_iterator_base_funcs.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497



[Bug libstdc++/40518] data races when calling std::string::erase() on empty string

2009-06-23 Thread paolo at gcc dot gnu dot org


--- Comment #9 from paolo at gcc dot gnu dot org  2009-06-23 12:36 ---
Subject: Bug 40518

Author: paolo
Date: Tue Jun 23 12:36:43 2009
New Revision: 148850

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148850
Log:
2009-06-23  Paolo Carlini  

PR libstdc++/40518
* include/bits/basic_string.h (basic_string<>::_Rep::
_M_set_length_and_sharable): Do not write the empty rep.
(basic_string<>::erase(iterator, iterator)): Likewise,
move out of line...
* include/bits/basic_string.tcc: ... here.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/basic_string.h
trunk/libstdc++-v3/include/bits/basic_string.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40518



[Bug libstdc++/40511] Bootstrap Failure in stage3: c++locale - Recent SVN

2009-06-30 Thread paolo at gcc dot gnu dot org


--- Comment #13 from paolo at gcc dot gnu dot org  2009-06-30 10:46 ---
Subject: Bug 40511

Author: paolo
Date: Tue Jun 30 10:45:54 2009
New Revision: 149089

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149089
Log:
2009-06-30  Paolo Carlini  

PR libstdc++/40511
* config/locale/gnu/c_locale.cc: Don't use LC_CTYPE_MASK together
with glibc2.2.x.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/locale/gnu/c_locale.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40511



[Bug libstdc++/40600] pair& operator=(pair&& __p) doesn't work without inlining

2009-06-30 Thread paolo at gcc dot gnu dot org


--- Comment #7 from paolo at gcc dot gnu dot org  2009-06-30 12:10 ---
Subject: Bug 40600

Author: paolo
Date: Tue Jun 30 12:09:57 2009
New Revision: 149094

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149094
Log:
2009-06-30  Paolo Carlini  

PR libstdc++/40600
* testsuite/25_algorithms/minmax/2.cc: Fix consistently with
std::minmax return type.
* testsuite/25_algorithms/minmax/3.cc: Likewise.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/testsuite/25_algorithms/minmax/2.cc
trunk/libstdc++-v3/testsuite/25_algorithms/minmax/3.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40600



[Bug libstdc++/40600] pair& operator=(pair&& __p) doesn't work without inlining

2009-06-30 Thread paolo at gcc dot gnu dot org


--- Comment #8 from paolo at gcc dot gnu dot org  2009-06-30 12:10 ---
Subject: Bug 40600

Author: paolo
Date: Tue Jun 30 12:10:14 2009
New Revision: 149095

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149095
Log:
2009-06-30  Paolo Carlini  

PR libstdc++/40600
* testsuite/25_algorithms/minmax/2.cc: Fix consistently with
std::minmax return type.
* testsuite/25_algorithms/minmax/3.cc: Likewise.

Modified:
branches/gcc-4_4-branch/libstdc++-v3/ChangeLog
branches/gcc-4_4-branch/libstdc++-v3/testsuite/25_algorithms/minmax/2.cc
branches/gcc-4_4-branch/libstdc++-v3/testsuite/25_algorithms/minmax/3.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40600



[Bug libstdc++/40712] locale(const locale&, const char*, locale::category) can create broken locale

2009-07-18 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2009-07-18 22:58 ---
Subject: Bug 40712

Author: paolo
Date: Sat Jul 18 22:58:10 2009
New Revision: 149782

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149782
Log:
2009-07-18  Paolo Carlini  

PR libstdc++/40712
* config/locale/gnu/numeric_members.cc (numpunct<>::
_M_initialize_numpunct): Dynamically allocate _M_data->_M_grouping
and copy the langinfo data into it.
(numpunct<>::~numpunct): Free the allocated memory.
* config/locale/gnu/monetary_members.cc (moneypunct<>::
_M_initialize_moneypunct): Dynamically allocate _M_data->_M_grouping,
_M_data->_M_positive_sign, _M_data->_M_negative_sign,
_M_data->_M_curr_symbol.
(moneypunct<>::~moneypunct): Free the allocated memory.
* testsuite/22_locale/moneypunct/40712.cc: New.

* include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache):
Do not leak memory if new throws.
* include/bits/locale_facets_nonio.tcc
(__moneypunct_cache<>::_M_cache): Likewise.

Added:
trunk/libstdc++-v3/testsuite/22_locale/moneypunct/40712.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/locale/gnu/monetary_members.cc
trunk/libstdc++-v3/config/locale/gnu/numeric_members.cc
trunk/libstdc++-v3/include/bits/locale_facets.tcc
trunk/libstdc++-v3/include/bits/locale_facets_nonio.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40712



[Bug libstdc++/40908] FAIL: abi_check

2009-07-29 Thread paolo at gcc dot gnu dot org


--- Comment #8 from paolo at gcc dot gnu dot org  2009-07-29 21:00 ---
Subject: Bug 40908

Author: paolo
Date: Wed Jul 29 21:00:10 2009
New Revision: 150228

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150228
Log:
2009-07-29  Paolo Carlini  

PR libstdc++/40908
* config/abi/pre/gnu.ver: Avoid exporting inadvertently std::mutex
symbols at GLIBCXX_3.4.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/abi/pre/gnu.ver


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40908



[Bug libstdc++/40915] [4.5 Regressions] FAIL: 18_support/headers/exception/synopsis.cc (test for excess errors)

2009-07-30 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2009-07-30 15:26 ---
Subject: Bug 40915

Author: paolo
Date: Thu Jul 30 15:26:44 2009
New Revision: 150260

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150260
Log:
2009-07-30  Paolo Carlini  

PR libstdc++/40915
* testsuite/18_support/headers/exception/synopsis.cc: Fix
std::terminate declaration.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40915



[Bug libstdc++/40917] FAIL: ext/array_allocator/check_delete.cc (test for excess errors)

2009-07-30 Thread paolo at gcc dot gnu dot org


--- Comment #1 from paolo at gcc dot gnu dot org  2009-07-30 21:03 ---
Subject: Bug 40917

Author: paolo
Date: Thu Jul 30 21:02:44 2009
New Revision: 150272

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150272
Log:
2009-07-30  Paolo Carlini  

PR libstdc++/40917
* testsuite/util/replacement_memory_operators.h: Add missing includes,
tweak qualifications.

2009-07-30  Paolo Carlini  

PR libstdc++/40916
* testsuite/23_containers/list/modifiers/swap/1.cc: Fix include order.
* testsuite/23_containers/list/modifiers/swap/2.cc: Likewise.
* testsuite/23_containers/list/modifiers/swap/2.cc: Likewise.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/testsuite/23_containers/list/modifiers/swap/1.cc
trunk/libstdc++-v3/testsuite/23_containers/list/modifiers/swap/2.cc
trunk/libstdc++-v3/testsuite/23_containers/list/modifiers/swap/3.cc
trunk/libstdc++-v3/testsuite/util/replacement_memory_operators.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40917



[Bug libstdc++/40916] [4.5 Regression] FAIL: 23_containers/list/modifiers/swap/1.cc execution test

2009-07-30 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2009-07-30 21:03 ---
Subject: Bug 40916

Author: paolo
Date: Thu Jul 30 21:02:44 2009
New Revision: 150272

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150272
Log:
2009-07-30  Paolo Carlini  

PR libstdc++/40917
* testsuite/util/replacement_memory_operators.h: Add missing includes,
tweak qualifications.

2009-07-30  Paolo Carlini  

PR libstdc++/40916
* testsuite/23_containers/list/modifiers/swap/1.cc: Fix include order.
* testsuite/23_containers/list/modifiers/swap/2.cc: Likewise.
* testsuite/23_containers/list/modifiers/swap/2.cc: Likewise.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/testsuite/23_containers/list/modifiers/swap/1.cc
trunk/libstdc++-v3/testsuite/23_containers/list/modifiers/swap/2.cc
trunk/libstdc++-v3/testsuite/23_containers/list/modifiers/swap/3.cc
trunk/libstdc++-v3/testsuite/util/replacement_memory_operators.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40916



[Bug libstdc++/40912] [4.5 Regression] failure to pre-compile bits/stdc++.h.gch/O2ggnu++0x.gch

2009-07-31 Thread paolo at gcc dot gnu dot org


--- Comment #16 from paolo at gcc dot gnu dot org  2009-07-31 12:19 ---
Subject: Bug 40912

Author: paolo
Date: Fri Jul 31 12:19:26 2009
New Revision: 150312

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150312
Log:
2009-07-31  Paolo Carlini  

PR libstdc++/40912 (partial)
* include/std/random: Disable the facility if  is not
available.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/random


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40912



[Bug libstdc++/40912] [4.5 Regression] failure to pre-compile bits/stdc++.h.gch/O2ggnu++0x.gch

2009-08-02 Thread paolo at gcc dot gnu dot org


--- Comment #20 from paolo at gcc dot gnu dot org  2009-08-02 23:35 ---
Subject: Bug 40912

Author: paolo
Date: Sun Aug  2 23:35:41 2009
New Revision: 150361

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150361
Log:
2009-08-02  Paolo Carlini  

PR libstdc++/40912 (final)
* testsuite/26_numerics/random/mt19937.cc: dg-require-cstdint.
* testsuite/26_numerics/random/uniform_real_distribution/cons/
parms_neg.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/range.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/num_xbound_fun.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/initlist_fun.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/minstd_rand.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/cons/
range.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/cons/
initlist.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/requirements/
typedefs.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/parms_neg.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/ranlux24_base.cc: Likewise.
* testsuite/26_numerics/random/
default_random_engine.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/range.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/initlist.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/num_xbound_fun.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/base_move.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/seed1.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/seed2.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/base_copy.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/seed_seq.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
requirements/typedefs.cc: 

[Bug libstdc++/15523] [DR 408] Can't have vectors of vector::const_iterator

2009-08-04 Thread paolo at gcc dot gnu dot org


--- Comment #14 from paolo at gcc dot gnu dot org  2009-08-04 13:01 ---
Subject: Bug 15523

Author: paolo
Date: Tue Aug  4 13:01:08 2009
New Revision: 150455

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150455
Log:
2009-08-04  Paolo Carlini  

PR libstdc++/15523
* include/debug/safe_iterator.h (_Safe_iterator<>::
_Safe_iterator(const _Safe_iterator&), _Safe_iterator<>::
operator=(const _Safe_iterator&)): Implement resolution of DR 408,
do not error out when the source is a value-initialized iterator.
* testsuite/23_containers/vector/15523.cc: New.
* doc/xml/manual/intro.xml: Add an entry for DR 408.

Added:
trunk/libstdc++-v3/testsuite/23_containers/vector/15523.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/doc/xml/manual/intro.xml
trunk/libstdc++-v3/include/debug/safe_iterator.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15523



[Bug libstdc++/22203] std::numeric_limits::traps is wrong on PPC

2005-11-05 Thread paolo at gcc dot gnu dot org


--- Comment #1 from paolo at gcc dot gnu dot org  2005-11-05 09:42 ---
Subject: Bug 22203

Author: paolo
Date: Sat Nov  5 09:42:01 2005
New Revision: 106524

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106524
Log:
2005-11-05  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/22203
* include/bits/c++config: Include cpu_defines.h.
* include/Makefile.am: Add cpu_defines.h to host_headers.
* configure.host: Add cpu_defines_dir.
* configure.ac: Use it.
* config/cpu/powerpc/cpu_defines.h: New.
* config/cpu/generic/cpu_defines.h: Likewise.
* configure: Regenerate.
* Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.

Added:
trunk/libstdc++-v3/config/cpu/generic/cpu_defines.h
trunk/libstdc++-v3/config/cpu/powerpc/cpu_defines.h
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/Makefile.in
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.ac
trunk/libstdc++-v3/configure.host
trunk/libstdc++-v3/include/Makefile.am
trunk/libstdc++-v3/include/Makefile.in
trunk/libstdc++-v3/include/bits/c++config
trunk/libstdc++-v3/libmath/Makefile.in
trunk/libstdc++-v3/libsupc++/Makefile.in
trunk/libstdc++-v3/po/Makefile.in
trunk/libstdc++-v3/src/Makefile.in
trunk/libstdc++-v3/testsuite/Makefile.in


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22203



[Bug libstdc++/23953] using stringstreams causes crashes with some locales

2005-11-05 Thread paolo at gcc dot gnu dot org


--- Comment #7 from paolo at gcc dot gnu dot org  2005-11-06 01:12 ---
Subject: Bug 23953

Author: paolo
Date: Sun Nov  6 01:12:23 2005
New Revision: 106553

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106553
Log:
2005-11-05  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/23953
* include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
__moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
(__verify_grouping): Do the last check only if __grouping[__min] > 0.
(__add_grouping<>): End recursion if *__gbeg <= 0.
* testsuite/22_locale/num_get/get/char/23953.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
* testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.

Added:
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/22_locale/num_get/get/char/23953.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/23953.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/22_locale/num_put/put/char/23953.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/23953.cc
Modified:
branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
branches/gcc-4_0-branch/libstdc++-v3/include/bits/locale_facets.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23953



[Bug libstdc++/18174] documentation example for std::priority_queue usage

2005-11-06 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2005-11-06 13:07 ---
Subject: Bug 18174

Author: paolo
Date: Sun Nov  6 13:07:11 2005
New Revision: 106560

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106560
Log:
2005-11-06  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/18174
* include/bits/stl_queue.h (priority_queue): Tweak a bit the
comment describing the container.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_queue.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18174



[Bug libstdc++/18174] documentation example for std::priority_queue usage

2005-11-06 Thread paolo at gcc dot gnu dot org


--- Comment #5 from paolo at gcc dot gnu dot org  2005-11-06 13:09 ---
Subject: Bug 18174

Author: paolo
Date: Sun Nov  6 13:09:50 2005
New Revision: 106561

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106561
Log:
2005-11-06  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/18174
* include/bits/stl_queue.h (priority_queue): Tweak a bit the
comment describing the container.

Modified:
branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
branches/gcc-4_0-branch/libstdc++-v3/include/bits/stl_queue.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18174



[Bug libstdc++/24809] is_polymorphic doesn't compile if the argument type has non-throwing destructor

2005-11-11 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2005-11-11 20:10 ---
Subject: Bug 24809

Author: paolo
Date: Fri Nov 11 20:10:20 2005
New Revision: 106796

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106796
Log:
2005-11-11  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24799
* include/tr1/functional (hash): Inherit from std::unary_function.
* testsuite/tr1/6_containers/unordered/hash/24799.cc: New.

PR libstdc++/24805
* include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
24805.cc: New.

PR libstdc++/24809
* include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
* testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
24809.cc: New.


Added:
   
trunk/libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc
   
trunk/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
trunk/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/
trunk/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/24799.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1/boost_shared_ptr.h
trunk/libstdc++-v3/include/tr1/functional
trunk/libstdc++-v3/include/tr1/type_traits


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24809



[Bug libstdc++/24805] No non-member swap for shared_ptr

2005-11-11 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2005-11-11 20:10 ---
Subject: Bug 24805

Author: paolo
Date: Fri Nov 11 20:10:20 2005
New Revision: 106796

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106796
Log:
2005-11-11  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24799
* include/tr1/functional (hash): Inherit from std::unary_function.
* testsuite/tr1/6_containers/unordered/hash/24799.cc: New.

PR libstdc++/24805
* include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
24805.cc: New.

PR libstdc++/24809
* include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
* testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
24809.cc: New.


Added:
   
trunk/libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc
   
trunk/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
trunk/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/
trunk/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/24799.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1/boost_shared_ptr.h
trunk/libstdc++-v3/include/tr1/functional
trunk/libstdc++-v3/include/tr1/type_traits


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24805



[Bug libstdc++/24799] std::tr1::hash missing inheritance

2005-11-11 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2005-11-11 20:10 ---
Subject: Bug 24799

Author: paolo
Date: Fri Nov 11 20:10:20 2005
New Revision: 106796

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106796
Log:
2005-11-11  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24799
* include/tr1/functional (hash): Inherit from std::unary_function.
* testsuite/tr1/6_containers/unordered/hash/24799.cc: New.

PR libstdc++/24805
* include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
24805.cc: New.

PR libstdc++/24809
* include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
* testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
24809.cc: New.


Added:
   
trunk/libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc
   
trunk/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
trunk/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/
trunk/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/24799.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1/boost_shared_ptr.h
trunk/libstdc++-v3/include/tr1/functional
trunk/libstdc++-v3/include/tr1/type_traits


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24799



[Bug libstdc++/24808] is_object fails to compile with incomplete types

2005-11-11 Thread paolo at gcc dot gnu dot org


--- Comment #1 from paolo at gcc dot gnu dot org  2005-11-12 00:19 ---
Subject: Bug 24808

Author: paolo
Date: Sat Nov 12 00:19:24 2005
New Revision: 106818

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106818
Log:
2005-11-11  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24808
* include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
(with complemented logic).
(is_function): Use it, don't use __conv_helper.
(is_abstract): Adjust.
(__conv_helper): Rename to __is_convertible_simple.
(is_convertible): Adjust.
* testsuite/testsuite_tr1.h (class IncompleteClass): Add.
* testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
24808.cc: New.
* testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
24808.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
24808.cc: Likewise.

Added:
   
trunk/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/24808.cc
   
trunk/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/24808.cc
   
trunk/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/24808.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1/type_traits
trunk/libstdc++-v3/testsuite/testsuite_tr1.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24808



[Bug libstdc++/24818] tr1::reference_wrapper improperly calls nullary function objects

2005-11-13 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2005-11-13 12:14 ---
Subject: Bug 24818

Author: paolo
Date: Sun Nov 13 12:14:15 2005
New Revision: 106862

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106862
Log:
2005-11-13  Jonathan Wakely  <[EMAIL PROTECTED]>

* include/tr1/boost_shared_ptr.h (get_deleter):
Declare before shared_ptr.
(shared_ptr<>): Declare get_deleter as friend.
(shared_ptr<>:_M_get_deleter): Private.

2005-11-13  Douglas Gregor  <[EMAIL PROTECTED]>

PR libstdc++/24818
* include/tr1/ref_wrap_iterate.h
(reference_wrapper::operator()()): Don't dereferene the result of
get() before calling it; it's already a reference.
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
Test nullary calls to reference_wrappers.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1/ref_wrap_iterate.h
   
trunk/libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24818



[Bug libstdc++/24818] tr1::reference_wrapper improperly calls nullary function objects

2005-11-13 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2005-11-13 12:14 ---
Subject: Bug 24818

Author: paolo
Date: Sun Nov 13 12:14:51 2005
New Revision: 106863

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106863
Log:
2005-11-13  Jonathan Wakely  <[EMAIL PROTECTED]>

* include/tr1/boost_shared_ptr.h (get_deleter):
Declare before shared_ptr.
(shared_ptr<>): Declare get_deleter as friend.
(shared_ptr<>:_M_get_deleter): Private.

2005-11-13  Douglas Gregor  <[EMAIL PROTECTED]>

PR libstdc++/24818
* include/tr1/ref_wrap_iterate.h
(reference_wrapper::operator()()): Don't dereferene the result of
get() before calling it; it's already a reference.
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
Test nullary calls to reference_wrappers.

Modified:
trunk/libstdc++-v3/include/tr1/boost_shared_ptr.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24818



[Bug libstdc++/24805] No non-member swap for shared_ptr

2005-11-13 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2005-11-13 12:19 ---
Subject: Bug 24805

Author: paolo
Date: Sun Nov 13 12:19:01 2005
New Revision: 106864

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106864
Log:
2005-11-13  Douglas Gregor  <[EMAIL PROTECTED]>

PR libstdc++/24818
* include/tr1/ref_wrap_iterate.h
(reference_wrapper::operator()()): Don't dereferene the result of
get() before calling it; it's already a reference.
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
Test nullary calls to reference_wrappers.

2005-11-13  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24799
* include/tr1/functional (hash): Inherit from std::unary_function.
* testsuite/tr1/6_containers/unordered/hash/24799.cc: New.

PR libstdc++/24805
* include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
24805.cc: New.

PR libstdc++/24809
* include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
* testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
24809.cc: New.

Added:
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/24799.cc
Modified:
branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/boost_shared_ptr.h
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/functional
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/ref_wrap_iterate.h
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/type_traits
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24805



[Bug libstdc++/24799] std::tr1::hash missing inheritance

2005-11-13 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2005-11-13 12:19 ---
Subject: Bug 24799

Author: paolo
Date: Sun Nov 13 12:19:01 2005
New Revision: 106864

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106864
Log:
2005-11-13  Douglas Gregor  <[EMAIL PROTECTED]>

PR libstdc++/24818
* include/tr1/ref_wrap_iterate.h
(reference_wrapper::operator()()): Don't dereferene the result of
get() before calling it; it's already a reference.
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
Test nullary calls to reference_wrappers.

2005-11-13  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24799
* include/tr1/functional (hash): Inherit from std::unary_function.
* testsuite/tr1/6_containers/unordered/hash/24799.cc: New.

PR libstdc++/24805
* include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
24805.cc: New.

PR libstdc++/24809
* include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
* testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
24809.cc: New.

Added:
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/24799.cc
Modified:
branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/boost_shared_ptr.h
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/functional
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/ref_wrap_iterate.h
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/type_traits
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24799



[Bug libstdc++/24809] is_polymorphic doesn't compile if the argument type has non-throwing destructor

2005-11-13 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2005-11-13 12:19 ---
Subject: Bug 24809

Author: paolo
Date: Sun Nov 13 12:19:01 2005
New Revision: 106864

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106864
Log:
2005-11-13  Douglas Gregor  <[EMAIL PROTECTED]>

PR libstdc++/24818
* include/tr1/ref_wrap_iterate.h
(reference_wrapper::operator()()): Don't dereferene the result of
get() before calling it; it's already a reference.
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
Test nullary calls to reference_wrappers.

2005-11-13  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24799
* include/tr1/functional (hash): Inherit from std::unary_function.
* testsuite/tr1/6_containers/unordered/hash/24799.cc: New.

PR libstdc++/24805
* include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
24805.cc: New.

PR libstdc++/24809
* include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
* testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
24809.cc: New.

Added:
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/24799.cc
Modified:
branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/boost_shared_ptr.h
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/functional
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/ref_wrap_iterate.h
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/type_traits
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24809



[Bug libstdc++/24818] tr1::reference_wrapper improperly calls nullary function objects

2005-11-13 Thread paolo at gcc dot gnu dot org


--- Comment #5 from paolo at gcc dot gnu dot org  2005-11-13 12:19 ---
Subject: Bug 24818

Author: paolo
Date: Sun Nov 13 12:19:01 2005
New Revision: 106864

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106864
Log:
2005-11-13  Douglas Gregor  <[EMAIL PROTECTED]>

PR libstdc++/24818
* include/tr1/ref_wrap_iterate.h
(reference_wrapper::operator()()): Don't dereferene the result of
get() before calling it; it's already a reference.
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
Test nullary calls to reference_wrappers.

2005-11-13  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24799
* include/tr1/functional (hash): Inherit from std::unary_function.
* testsuite/tr1/6_containers/unordered/hash/24799.cc: New.

PR libstdc++/24805
* include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
24805.cc: New.

PR libstdc++/24809
* include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
* testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
24809.cc: New.

Added:
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/24799.cc
Modified:
branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/boost_shared_ptr.h
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/functional
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/ref_wrap_iterate.h
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/type_traits
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24818



[Bug libstdc++/24808] is_object fails to compile with incomplete types

2005-11-14 Thread paolo at gcc dot gnu dot org


--- Comment #2 from paolo at gcc dot gnu dot org  2005-11-15 00:31 ---
Subject: Bug 24808

Author: paolo
Date: Tue Nov 15 00:31:03 2005
New Revision: 106918

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106918
Log:
2005-11-14  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24808
* include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
(with complemented logic).
(is_function): Use it, don't use __conv_helper.
(is_abstract): Adjust.
(__conv_helper): Rename to __is_convertible_simple.
(is_convertible): Adjust.
* testsuite/testsuite_tr1.h (class IncompleteClass): Add.
* testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
24808.cc: New.
* testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
24808.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
24808.cc: Likewise.

Added:
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/24808.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/24808.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/24808.cc
Modified:
branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/type_traits
branches/gcc-4_0-branch/libstdc++-v3/testsuite/testsuite_tr1.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24808



[Bug libstdc++/24975] Aliasing problems inside libstdc++

2005-11-22 Thread paolo at gcc dot gnu dot org


--- Comment #13 from paolo at gcc dot gnu dot org  2005-11-22 14:53 ---
Subject: Bug 24975

Author: paolo
Date: Tue Nov 22 14:53:03 2005
New Revision: 107362

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107362
Log:
2005-11-22  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24975
* include/bits/stl_set.h (insert(iterator, const value_type&),
erase(iterator), erase(iterator, iterator)): Don't break aliasing
rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
* include/bits/stl_multiset.h (insert(iterator, const value_type&),
erase(iterator), erase(iterator, iterator)): Likewise.
* include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
_Const_Base_ptr, const value_type&), insert_unique(const_iterator,
const value_type&), insert_equal(const_iterator, const value_type&),
erase(const_iterator), erase(const_iterator, const_iterator)): New,
_Rb_tree<>::const_iterator counterparts of existing facilities.


Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_multiset.h
trunk/libstdc++-v3/include/bits/stl_set.h
trunk/libstdc++-v3/include/bits/stl_tree.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24975



[Bug libstdc++/24975] Aliasing problems inside libstdc++

2005-11-22 Thread paolo at gcc dot gnu dot org


--- Comment #14 from paolo at gcc dot gnu dot org  2005-11-22 14:55 ---
Subject: Bug 24975

Author: paolo
Date: Tue Nov 22 14:55:09 2005
New Revision: 107363

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107363
Log:
2005-11-22  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24975
* include/bits/stl_set.h (insert(iterator, const value_type&),
erase(iterator), erase(iterator, iterator)): Don't break aliasing
rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
* include/bits/stl_multiset.h (insert(iterator, const value_type&),
erase(iterator), erase(iterator, iterator)): Likewise.
* include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
_Const_Base_ptr, const value_type&), insert_unique(const_iterator,
const value_type&), insert_equal(const_iterator, const value_type&),
erase(const_iterator), erase(const_iterator, const_iterator)): New,
_Rb_tree<>::const_iterator counterparts of existing facilities.


Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/include/bits/stl_multiset.h
branches/gcc-4_1-branch/libstdc++-v3/include/bits/stl_set.h
branches/gcc-4_1-branch/libstdc++-v3/include/bits/stl_tree.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24975



[Bug libstdc++/24975] Aliasing problems inside libstdc++

2005-11-23 Thread paolo at gcc dot gnu dot org


--- Comment #21 from paolo at gcc dot gnu dot org  2005-11-24 01:29 ---
Subject: Bug 24975

Author: paolo
Date: Thu Nov 24 01:29:51 2005
New Revision: 107447

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107447
Log:
2005-11-23  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24975 (basic_string)
* include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
strict-aliasing warnings.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/basic_string.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24975



[Bug libstdc++/24617] vector vs __erase_at_end

2005-12-08 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2005-12-08 11:32 ---
Subject: Bug 24617

Author: paolo
Date: Thu Dec  8 11:32:37 2005
New Revision: 108227

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108227
Log:
2005-12-08  Paolo Carlini  <[EMAIL PROTECTED]>

* include/bits/stl_vector.h (vector<>::size, resize, capacity,
operator[]): Avoid troubles with ADL, user defined operators
and __normal_iterator.
(_M_erase_at_end): Fix to take a pointer.
(clear): Adjust call.
* include/bits/vector.tcc (vector<>::insert(iterator, const
value_type&), erase(iterator, iterator), operator=(const
vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux,
_M_fill_insert, _M_range_insert): Likewise.
(_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust
_M_erase_at_end call.
* testsuite/23_containers/vector/types/1.cc: New.

2005-12-08  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24617
* include/bits/stl_vector.h (vector<>::_M_erase_at_end): New.
(vector<>::clear, resize): Use it.
* include/bits/vector.tcc (vector<>::erase(iterator, iterator),
_M_fill_assign, _M_assign_aux): Likewise.

* testsuite/23_containers/vector/modifiers/erase/1.cc: New.

Added:
trunk/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/
trunk/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/1.cc
trunk/libstdc++-v3/testsuite/23_containers/vector/types/1.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_vector.h
trunk/libstdc++-v3/include/bits/vector.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24617



[Bug libstdc++/25288] std::list insert members should have no effects if an exception is thrown

2005-12-09 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2005-12-09 18:25 ---
Subject: Bug 25288

Author: paolo
Date: Fri Dec  9 18:24:53 2005
New Revision: 108313

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108313
Log:
2005-12-09  Paolo Carlini  <[EMAIL PROTECTED]>
Howard Hinnant  <[EMAIL PROTECTED]>

PR libstdc++/25288
* include/bits/stl_list.h (list<>::_M_insert_dispatch, _M_fill_insert):
Remove.
(_M_initialize_dispatch, _M_fill_initialize): Add.
(list(size_type, const value_type&, const allocator_type&),
list(const list&), list(_InputIterator, _InputIterator,
const allocator_type&): Use the latter.
(insert(iterator, size_type, const value_type&), insert(iterator,
_InputIterator, _InputIterator)): Use construction & splice.
* testsuite/23_containers/list/modifiers/insert/25288.cc: New.
* testsuite/testsuite_allocator.h (class throw_allocator): Add.

* include/bits/stl_list.h (list<>::insert, erase): Fix wrong comments.

Added:
trunk/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/
trunk/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_list.h
trunk/libstdc++-v3/testsuite/testsuite_allocator.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25288



[Bug libstdc++/25421] [4.0/4.1/4.2 Regression] catching exception from codecvt_byname() segfaults

2005-12-15 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2005-12-15 10:11 ---
Subject: Bug 25421

Author: paolo
Date: Thu Dec 15 10:11:03 2005
New Revision: 108565

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108565
Log:
2005-12-15  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/25421
* config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
for null argument.
* testsuite/22_locale/facet/25421.cc: New.

Added:
trunk/libstdc++-v3/testsuite/22_locale/facet/25421.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/locale/gnu/c_locale.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25421



[Bug libstdc++/25421] [4.0/4.1/4.2 Regression] catching exception from codecvt_byname() segfaults

2005-12-15 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2005-12-15 10:22 ---
Subject: Bug 25421

Author: paolo
Date: Thu Dec 15 10:22:19 2005
New Revision: 108566

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108566
Log:
2005-12-15  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/25421
* config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
for null argument.
* testsuite/22_locale/facet/25421.cc: New.

Added:
branches/gcc-4_1-branch/libstdc++-v3/testsuite/22_locale/facet/25421.cc
Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/config/locale/gnu/c_locale.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25421



[Bug libstdc++/25421] [4.0/4.1/4.2 Regression] catching exception from codecvt_byname() segfaults

2005-12-15 Thread paolo at gcc dot gnu dot org


--- Comment #5 from paolo at gcc dot gnu dot org  2005-12-15 10:23 ---
Subject: Bug 25421

Author: paolo
Date: Thu Dec 15 10:22:53 2005
New Revision: 108567

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108567
Log:
2005-12-15  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/25421
* config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
for null argument.
* testsuite/22_locale/facet/25421.cc: New.

Added:
branches/gcc-4_0-branch/libstdc++-v3/testsuite/22_locale/facet/25421.cc
Modified:
branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
branches/gcc-4_0-branch/libstdc++-v3/config/locale/gnu/c_locale.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25421



[Bug libstdc++/24645] Commonize arithmetic inserters/extractors bodies

2006-01-02 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2006-01-02 09:57 ---
Subject: Bug 24645

Author: paolo
Date: Mon Jan  2 09:57:49 2006
New Revision: 109236

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109236
Log:
2006-01-02  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/24645
* include/std/std_istream.h (basic_istream<>::_M_extract): New.
(operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
operator>>(int&), operator>>(unsigned int&), operator>>(long&),
operator>>(unsigned long&), operator>>(long long&), operator>>
(unsigned long long&), operator>>(float&), operator>>(double&),
operator>>(long double&), operator>>(void*&)): Use it.
* include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
* include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
(operator<<(long), operator<<(unsigned long), operator<<(bool),
operator<<(short), operator<<(unsigned short), operator<<(int),
operator<<(unsigned int), operator<<(long long), operator<<
(unsigned long long), operator<<(double), operator<<(float),
operator<<(long double), operator<<(const void*): Use it.
* include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
* src/istream-inst.cc: Add _M_insert instantiations.
* src/ostream-inst.cc: Add _M_extract instantiations.
* config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
money_put, etc., symbols to avoid exporting _M_insert symbols
@GLIBCXX_3.4.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/abi/pre/gnu.ver
trunk/libstdc++-v3/include/bits/istream.tcc
trunk/libstdc++-v3/include/bits/ostream.tcc
trunk/libstdc++-v3/include/std/std_istream.h
trunk/libstdc++-v3/include/std/std_ostream.h
trunk/libstdc++-v3/src/istream-inst.cc
trunk/libstdc++-v3/src/ostream-inst.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24645




[Bug libstdc++/22102] [DR233] Implement resolution of DR 233

2006-01-08 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2006-01-08 17:34 ---
Subject: Bug 22102

Author: paolo
Date: Sun Jan  8 17:34:32 2006
New Revision: 109473

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109473
Log:
2006-01-08  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/22102 (insert as close to hint as possible)
* include/bits/stl_tree.h (_Rb_tree<>::_M_insert_lower,
_M_insert_equal_lower): New.
(_M_insert_equal(iterator, const _Val&),
_M_insert_equal(const_iterator, const _Val&)): Use the above.
* docs/html/ext/howto.html: Add an entry for DR 233.
* testsuite/23_containers/multiset/modifiers/insert/22102.cc: New.
* testsuite/23_containers/multimap/modifiers/insert/22102.cc: New.

* testsuite/23_containers/set/insert/: Move...
* testsuite/23_containers/set/modifiers/insert/: ...here.
* testsuite/23_containers/map/insert/: Move...
* testsuite/23_containers/map/modifiers/insert/: ...here.
* testsuite/23_containers/multiset/insert/: Move...
* testsuite/23_containers/multiset/modifiers/insert/: ...here.

Added:
trunk/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/
  - copied from r109389,
trunk/libstdc++-v3/testsuite/23_containers/map/insert/
trunk/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/
   
trunk/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/22102.cc
trunk/libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/
  - copied from r109389,
trunk/libstdc++-v3/testsuite/23_containers/multiset/insert/
   
trunk/libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/22102.cc
trunk/libstdc++-v3/testsuite/23_containers/set/modifiers/insert/
  - copied from r109389,
trunk/libstdc++-v3/testsuite/23_containers/set/insert/
Removed:
trunk/libstdc++-v3/testsuite/23_containers/map/insert/
trunk/libstdc++-v3/testsuite/23_containers/multiset/insert/
trunk/libstdc++-v3/testsuite/23_containers/set/insert/
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/docs/html/ext/howto.html
trunk/libstdc++-v3/include/bits/stl_tree.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22102




[Bug libstdc++/25658] testsuite failure: 23_containers/deque/cons/assign/1.cc

2006-01-09 Thread paolo at gcc dot gnu dot org


--- Comment #1 from paolo at gcc dot gnu dot org  2006-01-09 11:37 ---
Subject: Bug 25658

Author: paolo
Date: Mon Jan  9 11:37:17 2006
New Revision: 109499

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109499
Log:
2006-01-09  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/25658
* testsuite/23_containers/deque/cons/assign/1.cc: Divide
sizes by 10.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/testsuite/23_containers/deque/cons/assign/1.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25658




[Bug libstdc++/25626] Valarray vs non-POD

2006-01-15 Thread paolo at gcc dot gnu dot org


--- Comment #1 from paolo at gcc dot gnu dot org  2006-01-15 18:04 ---
Subject: Bug 25626

Author: paolo
Date: Sun Jan 15 18:04:31 2006
New Revision: 109726

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109726
Log:
2006-01-15  Paolo Carlini  <[EMAIL PROTECTED]>
Gabriel Dos Reis  <[EMAIL PROTECTED]>

PR libstdc++/25626
* include/std/std_valarray.h (valarray(const slice_array<>&),
valarray(const gslice_array<>&), valarray(const mask_array<>&),
valarray(const indirect_array<>&), valarray(const _Expr<>&)):
Forward to __valarray_copy_construct, not __valarray_copy.
* include/bits/valarray_array.h
(__valarray_copy_construct(_Array<>, _Array<>, _Array<>, size_t),
__valarray_copy_construct(_Array<>, size_t, size_t, _Array<>)):
New.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/valarray_array.h
trunk/libstdc++-v3/include/std/std_valarray.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25626



[Bug libstdc++/25824] --disable-hosted-libstdcxx causes build break in eh_globals.cc

2006-01-18 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2006-01-18 11:22 ---
Subject: Bug 25824

Author: paolo
Date: Wed Jan 18 11:22:10 2006
New Revision: 109883

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109883
Log:
2006-01-18  Perry Smith  <[EMAIL PROTECTED]>

PR libstdc++/25823
PR libstdc++/25824
* libsupc++/eh_alloc.cc: Fix return type of memset declaration.
* libsupc++/eh_globals.cc: If !_GLIBCXX_HOSTED declare malloc and free.

2006-01-18  Paolo Carlini  <[EMAIL PROTECTED]>

* include/ext/pb_assoc/detail/value_type_adapter/
value_type_adapter.hpp: Include .
* include/ext/pb_assoc/detail/value_type_adapter/
it_value_type_traits.hpp (it_value_type_traits_<>::value_type_holder):
Use tr1::aligned_storage and tr1::alignment_of.
(it_value_type_traits_<>::buf_t): Remove.
(it_value_type_traits_<>::make_valid, recast): Adjust.

Modified:
trunk/libstdc++-v3/ChangeLog
   
trunk/libstdc++-v3/include/ext/pb_assoc/detail/value_type_adapter/it_value_type_traits.hpp
   
trunk/libstdc++-v3/include/ext/pb_assoc/detail/value_type_adapter/value_type_adapter.hpp
trunk/libstdc++-v3/libsupc++/eh_alloc.cc
trunk/libstdc++-v3/libsupc++/eh_globals.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25824



[Bug libstdc++/25823] --disable-hosted-libstdcxx causes build break

2006-01-18 Thread paolo at gcc dot gnu dot org


--- Comment #9 from paolo at gcc dot gnu dot org  2006-01-18 11:22 ---
Subject: Bug 25823

Author: paolo
Date: Wed Jan 18 11:22:10 2006
New Revision: 109883

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109883
Log:
2006-01-18  Perry Smith  <[EMAIL PROTECTED]>

PR libstdc++/25823
PR libstdc++/25824
* libsupc++/eh_alloc.cc: Fix return type of memset declaration.
* libsupc++/eh_globals.cc: If !_GLIBCXX_HOSTED declare malloc and free.

2006-01-18  Paolo Carlini  <[EMAIL PROTECTED]>

* include/ext/pb_assoc/detail/value_type_adapter/
value_type_adapter.hpp: Include .
* include/ext/pb_assoc/detail/value_type_adapter/
it_value_type_traits.hpp (it_value_type_traits_<>::value_type_holder):
Use tr1::aligned_storage and tr1::alignment_of.
(it_value_type_traits_<>::buf_t): Remove.
(it_value_type_traits_<>::make_valid, recast): Adjust.

Modified:
trunk/libstdc++-v3/ChangeLog
   
trunk/libstdc++-v3/include/ext/pb_assoc/detail/value_type_adapter/it_value_type_traits.hpp
   
trunk/libstdc++-v3/include/ext/pb_assoc/detail/value_type_adapter/value_type_adapter.hpp
trunk/libstdc++-v3/libsupc++/eh_alloc.cc
trunk/libstdc++-v3/libsupc++/eh_globals.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25823



[Bug libstdc++/25823] --disable-hosted-libstdcxx causes build break

2006-01-19 Thread paolo at gcc dot gnu dot org


--- Comment #11 from paolo at gcc dot gnu dot org  2006-01-20 02:33 ---
Subject: Bug 25823

Author: paolo
Date: Fri Jan 20 02:33:21 2006
New Revision: 110010

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110010
Log:
2006-01-20  Perry Smith  <[EMAIL PROTECTED]>

PR libstdc++/25823
PR libstdc++/25824
* libsupc++/eh_alloc.cc: Fix return type of memset declaration.
* libsupc++/eh_globals.cc: If !_GLIBCXX_HOSTED declare malloc and free.

Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/libsupc++/eh_alloc.cc
branches/gcc-4_1-branch/libstdc++-v3/libsupc++/eh_globals.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25823



[Bug libstdc++/25824] --disable-hosted-libstdcxx causes build break in eh_globals.cc

2006-01-19 Thread paolo at gcc dot gnu dot org


--- Comment #6 from paolo at gcc dot gnu dot org  2006-01-20 02:33 ---
Subject: Bug 25824

Author: paolo
Date: Fri Jan 20 02:33:21 2006
New Revision: 110010

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110010
Log:
2006-01-20  Perry Smith  <[EMAIL PROTECTED]>

PR libstdc++/25823
PR libstdc++/25824
* libsupc++/eh_alloc.cc: Fix return type of memset declaration.
* libsupc++/eh_globals.cc: If !_GLIBCXX_HOSTED declare malloc and free.

Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/libsupc++/eh_alloc.cc
branches/gcc-4_1-branch/libstdc++-v3/libsupc++/eh_globals.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25824



[Bug libstdc++/28587] vector is extremely slow (900x slower than it should be)

2006-08-05 Thread paolo at gcc dot gnu dot org


--- Comment #12 from paolo at gcc dot gnu dot org  2006-08-05 10:11 ---
Subject: Bug 28587

Author: paolo
Date: Sat Aug  5 10:11:13 2006
New Revision: 115947

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115947
Log:
2006-08-05  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/28587
* include/bits/stl_bvector.h (vector::_M_fill): New.
(vector::_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.

Added:
trunk/libstdc++-v3/testsuite/23_containers/vector/bool/capacity/
trunk/libstdc++-v3/testsuite/23_containers/vector/bool/capacity/1.cc
trunk/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/
   
trunk/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/1.cc
trunk/libstdc++-v3/testsuite/performance/23_containers/resize/
   
trunk/libstdc++-v3/testsuite/performance/23_containers/resize/vector_bool.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_bvector.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28587



[Bug libstdc++/16611] Terrible code generated for vector

2006-08-06 Thread paolo at gcc dot gnu dot org


--- Comment #11 from paolo at gcc dot gnu dot org  2006-08-06 14:45 ---
Subject: Bug 16611

Author: paolo
Date: Sun Aug  6 14:45:04 2006
New Revision: 115972

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115972
Log:
2006-08-06  Paolo Carlini  <[EMAIL PROTECTED]>

PR libstdc++/16611
* include/bits/stl_bvector.h (vector::operator[],
vector::operator[] const): Do not use iterator::operator+,
hand code.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_bvector.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16611



[Bug libstdc++/28765] __gnu_cxx::__vstring::clear() is slow

2006-08-18 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2006-08-18 15:42 ---
Subject: Bug 28765

Author: paolo
Date: Fri Aug 18 15:42:05 2006
New Revision: 116240

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116240
Log:
2006-08-18  Paolo Carlini  <[EMAIL PROTECTED]>

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.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/ext/rc_string_base.h
trunk/libstdc++-v3/include/ext/sso_string_base.h
trunk/libstdc++-v3/include/ext/vstring.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28765



  1   2   3   4   5   6   >