Rainer Orth
40f5cc95ab
re PR bootstrap/3456 (bootstrapping gcc-3.0 with threadmodel=posix fails on IRIX64 6.5)
...
gcc:
PR bootstrap/3456
* config.gcc (mips-sgi-irix[56]*): Enable pthread support.
* doc/install.texi (mips-sgi-irix6): pthread support works now.
libstdc++-v3:
PR bootstrap/3456
* testsuite/22_locale/locale/cons/12658_thread-1.cc: Enable on
mips-sgi-irix6*.
* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
* testsuite/thread/18185.cc: Likewise.
* testsuite/thread/pthread1.cc: Likewise.
* testsuite/thread/pthread2.cc: Likewise.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: Likewise.
* testsuite/thread/pthread5.cc: Likewise.
* testsuite/thread/pthread6.cc: Likewise.
* testsuite/thread/pthread7-rope.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
From-SVN: r126685
2007-07-16 17:21:10 +00:00
Danny Smith
54d82da191
ctype_base.h: Use the generic libstdc++ masks rather than MSVCRT defines.
...
* config/os/mingw32/ctype_base.h: Use the generic libstdc++ masks
rather than MSVCRT defines.
* config/os/mingw32/ctype_noninline.h (classic_table): Construct
and return a static classic table based on generic libstdc++ masks.
From-SVN: r126674
2007-07-16 09:19:26 +00:00
Paolo Carlini
9012dfca77
2007-07-12 Paolo Carlini <pcarlini@suse.de>
...
* Tweak ovelong lines in last ChangeLog entry.
From-SVN: r126592
2007-07-12 14:45:25 +00:00
Douglas Gregor
2df6377e6e
all_bound.cc: Disambiguate uses of TR1/C++0x facilities.
...
2007-07-12 Douglas Gregor <doug.gregor@gmail.com>
* testsuite/tr1/3_function_objects/bind/all_bound.cc: Disambiguate uses of
TR1/C++0x facilities.
* testsuite/tr1/3_function_objects/bind/nested.cc: Ditto.
* testsuite/tr1/3_function_objects/bind/placeholders.cc: Ditto.
* testsuite/tr1/6_containers/unordered_multimap/requirements/explicit_instantiation.cc:
Ditto.
* testsuite/tr1/6_containers/unordered_multimap/swap/1.cc: Ditto.
* testsuite/tr1/6_containers/unordered_multimap/swap/2.cc: Ditto.
* testsuite/tr1/6_containers/unordered_set/requirements/explicit_instantiation.cc:
Ditto.
* testsuite/tr1/6_containers/unordered_set/swap/1.cc: Ditto.
* testsuite/tr1/6_containers/unordered_set/swap/2.cc: Ditto.
* testsuite/tr1/6_containers/utility/pair.cc: Ditto.
* testsuite/tr1/6_containers/unordered_map/requirements/explicit_instantiation.cc:
Ditto.
* testsuite/tr1/6_containers/unordered_map/24064.cc: Ditto.
* testsuite/tr1/6_containers/unordered_map/swap/1.cc: Ditto.
* testsuite/tr1/6_containers/unordered_map/swap/2.cc: Ditto.
* testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Ditto.
* testsuite/tr1/6_containers/tuple/cons/constructor.cc: Ditto.
* testsuite/tr1/6_containers/tuple/cons/assignment.cc: Ditto.
* testsuite/tr1/6_containers/tuple/tuple_element.cc: Ditto.
* testsuite/tr1/6_containers/tuple/tuple_size.cc: Ditto.
* testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc:
Ditto.
* testsuite/tr1/6_containers/tuple/element_access/get.cc: Ditto.
* testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: Ditto.
* testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: Ditto.
* testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc: Ditto.
* testsuite/tr1/6_containers/unordered_multiset/requirements/explicit_instantiation.cc:
Ditto.
* testsuite/tr1/6_containers/unordered_multiset/swap/1.cc: Ditto.
* testsuite/tr1/6_containers/unordered_multiset/swap/2.cc: Ditto.
From-SVN: r126590
2007-07-12 14:33:38 +00:00
Bob Wilson
55f0dee2ea
configure.ac: Check if $atomicity_dir is cpu/generic/atomicity_mutex instead of the...
...
* configure.ac: Check if $atomicity_dir is cpu/generic/atomicity_mutex
instead of the non-existent cpu/generic/atomic_mutex.
* configure: Regenerate.
From-SVN: r126528
2007-07-10 22:53:41 +00:00
Paolo Carlini
f425a30a1e
utility (identity, [...]): Add.
...
2007-07-10 Paolo Carlini <pcarlini@suse.de>
* include/std/utility (identity, move, forward): Add.
* testsuite/20_util/move/requirements/explicit_instantiation.cc: New.
* testsuite/20_util/move/1.cc: New.
* testsuite/20_util/identity/value.cc: New.
* testsuite/20_util/identity/requirements/typedefs.cc: New.
* testsuite/20_util/identity/requirements/explicit_instantiation.cc:
New.
* testsuite/20_util/forward/requirements/explicit_instantiation.cc:
New.
* testsuite/20_util/forward/1.cc: New.
* testsuite/20_util/forward/1_neg.cc: New.
From-SVN: r126524
2007-07-10 19:28:07 +00:00
Paolo Carlini
1ef8ecdd2e
utility (identity, [...]): Add.
...
2007-07-10 Paolo Carlini <pcarlini@suse.de>
* include/std/utility (identity, move, forward): Add.
* testsuite/20_util/move/requirements/explicit_instantiation.cc: New.
* testsuite/20_util/move/1.cc: New.
* testsuite/20_util/identity/value.cc: New.
* testsuite/20_util/identity/requirements/typedefs.cc: New.
* testsuite/20_util/identity/requirements/explicit_instantiation.cc:
New.
* testsuite/20_util/forward/requirements/explicit_instantiation.cc:
New.
* testsuite/20_util/forward/1.cc: New.
* testsuite/20_util/forward/1_neg.cc: New.
From-SVN: r126522
2007-07-10 19:20:51 +00:00
Paolo Carlini
15e25df5c7
what-1.cc: Include <stdexcept>.
...
2007-07-09 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/ios_base/failure/what-1.cc: Include <stdexcept>.
From-SVN: r126490
2007-07-09 19:13:20 +00:00
Jim Xochellis
58b9f26a61
stl_algo.h (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Tidy.
...
2007-07-09 Jim Xochellis <jimxoch@yahoo.gr>
Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algo.h (search(_ForwardIterator1,
_ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Tidy.
(search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2,
_ForwardIterator2, _BinaryPredicate)): Likewise.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r126479
2007-07-09 09:00:34 +00:00
Hans-Peter Nilsson
6ed80bc4da
libstdc++.exp (v3-build_support): Use env(AR) and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET).
...
* testsuite/lib/libstdc++.exp (v3-build_support): Use env(AR)
and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET).
From-SVN: r126392
2007-07-06 00:03:03 +00:00
Joerg Richter
68d64ccd47
re PR libstdc++/31957 (Build of compiler fails with 'error: #endif without #if')
...
2007-07-05 Joerg Richter <joerg.richter@pdv-fs.de>
PR libstdc++/31957
* include/Makefile.am: Work around an AIX sed oddity.
* include/Makefile.in: Regenerate.
From-SVN: r126362
2007-07-05 11:45:24 +00:00
Jim Xochellis
e5e941450f
stl_algo.h (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Simplify general case loop to a for(;;).
...
2007-07-04 Jim Xochellis <jimxoch@yahoo.gr>
* include/bits/stl_algo.h (search(_ForwardIterator1,
_ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Simplify
general case loop to a for(;;).
(search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2,
_ForwardIterator2, _BinaryPredicate)): Likewise; remove redundant
inner loop.
From-SVN: r126347
2007-07-05 00:50:56 +00:00
Paolo Carlini
5dddb7e5eb
re PR libstdc++/31518 (_GLIBCXX_DEBUG error message formatter line width not configurable)
...
2007-07-03 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/31518
* include/debug/formatter.h (_Error_formatter::_M_get_max_length): New.
(_Error_formatter::_Error_formatter): Use it.
* src/debug.cc: Define.
(_Error_formatter::_M_error): Tweak.
* configure.ac: Adjust version to 6:10:0.
* config/abi/pre/gnu.ver: Export _Error_formatter::_M_get_max_length
at GLIBCXX_3.4.10.
* testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.10.
* docs/html/debug.html: Document.
* configure: Regenerate.
From-SVN: r126287
2007-07-04 00:09:22 +00:00
Douglas Gregor
269ef14dfd
typedefs_neg.cc: Tweak line numbers.
...
2007-07-02 Douglas Gregor <doug.gregor@gmail.com>
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Tweak line numbers.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Ditto.
* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc:
Don't try to create an unsigned wchar_t.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
Don't try to create an unsigned wchar_t.
* testsuite/util/testsuite_hooks.h: Remove a stray semicolon.
From-SVN: r126203
2007-07-02 13:11:13 +00:00
Douglas Gregor
5edfe9e86f
type_traits (__make_unsigned): Remove invalid wchar_t specialization.
...
2007-07-01 Douglas Gregor <doug.gregor@gmail.com>
* include/std/type_traits (__make_unsigned): Remove invalid
wchar_t specialization.
(__make_signed): Remove invalid wchar_t specialization.
From-SVN: r126184
2007-07-02 02:33:26 +00:00
Doug Gregor
f535826b35
std_c++0x_neg.cc: Force C++98 mode.
...
2007-06-29 Douglas Gregor <doug.gregor@gmail.com>
* testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Force
C++98 mode.
* testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Ditto.
* testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Ditto.
* testsuite/23_containers/headers/array/std_c++0x_neg.cc: Ditto.
* testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Ditto.
* testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc:
Ditto.
* testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc:
Ditto.
* testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Ditto.
* testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Ditto.
* testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Ditto.
* testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Ditto.
* testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Ditto.
* testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Ditto.
From-SVN: r126120
2007-06-29 20:05:11 +00:00
Paolo Carlini
1ba741304a
re PR libstdc++/32509 (unable to explicitely configure with a given locale model)
...
2007-06-28 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/32509
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Carry out the checks
involving the de_DE locale only if an auto locale config is
used for a target suitable for the gnu locale model.
* docs/html/install.html: Update.
* configure: Regenerated.
From-SVN: r126096
2007-06-28 22:58:32 +00:00
Benjamin Kosnik
0bb81a93ac
testsuite_api.h: New.
...
2007-06-26 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/util/testsuite_api.h: New.
* testsuite/27_io/ios_base/failure: Add.
* testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: New.
* testsuite/27_io/ios_base/failure/what-1.cc: Same.
* testsuite/27_io/ios_base/failure/what-2.cc: Same.
* testsuite/27_io/ios_base/failure/what-big.cc: Same.
* testsuite/27_io/ios_base/failure/what-3.cc: Same.
* testsuite/19_diagnostics/logic_error/
cons_virtual_derivation.cc: Same.
* testsuite/19_diagnostics/runtime_error/
cons_virtual_derivation.cc: Same.
* testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Same.
* testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Same.
* testsuite/18_support/bad_exception/cons_virtual_derivation.cc: Same.
* testsuite/18_support/bad_typeid/cons_virtual_derivation.cc: Same.
* testsuite/ext/concurrence_lock_error: New.
* testsuite/ext/concurrence_lock_error/
cons_virtual_derivation.cc: Same.
* testsuite/ext/forced_exception_error: New.
* testsuite/ext/forced_exception_error/
cons_virtual_derivation.cc: Same.
* testsuite/ext/concurrence_unlock_error: New.
* testsuite/ext/concurrence_unlock_error/
cons_virtual_derivation.cc: Same.
* testsuite/20_util/function_objects/bad_function_call: New.
* testsuite/20_util/function_objects/bad_function_call/
cons_virtual_derivation.cc: Same.
From-SVN: r126032
2007-06-26 15:58:45 +00:00
Benjamin Kosnik
949d9ae181
throw_allocator.h: Fixes for -fno-exceptions.
...
2007-06-26 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/throw_allocator.h: Fixes for -fno-exceptions.
* testsuite/util/testsuite_shared.cc: Same.
* testsuite/util/io/illegal_input_error.hpp: Same.
* testsuite/util/io/verified_cmd_line_input.cc: Same.
* libsupc++/typeinfo (type_info): Correct comment formatting,
clarify member access and public interface.
* libsupc++/exception: Less compressed comments.
* libsupc++/new: Same.
From-SVN: r126016
2007-06-26 11:01:15 +00:00
Paolo Carlini
046d30f4e0
stl_list.h: Rename guard macro consistently with file name.
...
2007-06-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_list.h: Rename guard macro consistently with
file name.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_queue.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_stack.h: Likewise.
* include/bits/stl_iterator_base_types.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_iterator_base_funcs.h: Likewise.
* include/bits/stl_algo.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* include/bits/stl_tempbuf.h: Likewise.
* include/bits/stl_bvector.h: Likewise.
* include/bits/stl_function.h: Likewise.
* include/bits/stl_tree.h: Likewise.
From-SVN: r125815
2007-06-18 17:22:53 +00:00
Nathan Sidwell
19caedae31
atomicity.h: Use __mcfisaa__...
...
* config/cpu/m68k/atomicity.h: Use __mcfisaa__, __mcfisaaplus__,
__mcfisab__ & __mcfisac__ instead of obsolete cpu #defines.
From-SVN: r125775
2007-06-17 13:09:58 +00:00
Richard Earnshaw
ddb4f387ee
eh_arm.cc (__cxa_type_match): Handle foreign exceptions.
...
* libsupc++/eh_arm.cc (__cxa_type_match): Handle foreign
exceptions.
* libsubpc++/eh_personality.cc: Don't try to set up foreign or
forced unwind types here when using the ARM EABI unwinder.
From-SVN: r125683
2007-06-13 19:31:58 +00:00
Paolo Carlini
28b69d5df0
cmath: Tweak includes.
...
2007-06-13 Paolo Carlini <pcarlini@suse.de>
* include/c_global/cmath: Tweak includes.
* include/std/memory: Likewise.
* include/std/complex: Likewise.
* include/tr1/memory: Likewise.
* include/tr1/complex: Likewise.
* include/tr1/cmath: Likewise; do not wrap special functions
in #ifndef __GXX_EXPERIMENTAL_CXX0X__.
From-SVN: r125671
2007-06-13 07:31:39 +00:00
Benjamin Kosnik
28ec62e0a7
testsuite_performance.h: Add cstring include for memset.
...
2007-06-10 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/util/testsuite_performance.h: Add cstring include for
memset.
From-SVN: r125600
2007-06-10 09:14:43 +00:00
Paolo Carlini
ad365750b1
install.html: Adjust consistently with libstdc++/31717.
...
2007-06-08 Paolo Carlini <pcarlini@suse.de>
* docs/html/install.html: Adjust consistently with libstdc++/31717.
From-SVN: r125587
2007-06-09 00:55:43 +00:00
Francesco Palagi
9735f6ba52
fstream: Add Table 92 in comment.
...
2007-06-08 Francesco Palagi <palagi@arcetri.astro.it>
* include/std/fstream: Add Table 92 in comment.
From-SVN: r125571
2007-06-08 13:16:38 +00:00
Paolo Carlini
266a2cbaec
re PR libstdc++/32233 (warning in stl_vector.h:832)
...
2007-06-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/32233
* include/bits/stl_vector.h (_M_fill_initialize): Fix return type.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.
From-SVN: r125499
2007-06-06 18:44:02 +00:00
Benjamin Kosnik
5a59ef3687
debug.html: Correct link.
...
2007-06-06 Benjamin Kosnik <bkoz@redhat.com>
Frank Mori Hess <frank.hess@nist.gov>
* docs/html/debug.html: Correct link.
From-SVN: r125488
2007-06-06 13:57:00 +00:00
Benjamin Kosnik
c846e485db
2007-06-06 Benjamin Kosnik <bkoz@redhat.com>
...
Frank Mori Hess <frank.hess@nist.gov>
Co-Authored-By: Frank Mori Hess <frank.hess@nist.gov>
From-SVN: r125485
2007-06-06 13:54:44 +00:00
Paolo Carlini
4a27a739a2
type_traits (is_reference, [...]): Remove.
...
2007-06-02 Paolo Carlini <pcarlini@suse.de>
* include/tr1_impl/type_traits (is_reference, add_reference,
remove_reference): Remove.
* include/tr1/type_traits (is_reference, add_reference,
remove_reference): Add.
* include/std/type_traits (is_lvalue_reference, is_rvalue_reference,
is_reference, remove_reference, add_lvalue_reference,
add_rvalue_reference): Add.
* include/tr1_impl/boost_shared_ptr.h (operator*): Adjust.
* testsuite/20_util/add_lvalue_reference/requirements/
explicit_instantiation.cc: New.
* testsuite/20_util/add_lvalue_reference/value.cc: Likewise.
* testsuite/20_util/add_rvalue_reference/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
* testsuite/20_util/is_lvalue_reference/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_lvalue_reference/requirements/
typedefs.cc: Likewise.
* testsuite/20_util/is_lvalue_reference/value.cc: Likewise.
* testsuite/20_util/is_rvalue_reference/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_rvalue_reference/requirements/
typedefs.cc: Likewise.
* testsuite/20_util/is_rvalue_reference/value.cc: Likewise.
* testsuite/20_util/is_reference/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_reference/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_reference/value.cc: Likewise.
* testsuite/20_util/remove_reference/requirements/
explicit_instantiation.cc: New.
* testsuite/20_util/remove_reference/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/add_const/requirements/
typedefs.cc: Move...
* testsuite/tr1/4_metaprogramming/add_const/value.cc: ... here.
* testsuite/tr1/4_metaprogramming/add_cv/requirements/
typedefs.cc: Move...
* testsuite/tr1/4_metaprogramming/add_cv/value.cc: ... here.
* testsuite/tr1/4_metaprogramming/add_pointer/requirements/
typedefs.cc: Move...
* testsuite/tr1/4_metaprogramming/add_pointer/value.cc: ... here.
* testsuite/tr1/4_metaprogramming/add_reference/requirements/
typedefs.cc: Move...
* testsuite/tr1/4_metaprogramming/add_reference/value.cc: ... here.
* testsuite/tr1/4_metaprogramming/add_volatile/requirements/
typedefs.cc: Move...
* testsuite/tr1/4_metaprogramming/add_volatile/value.cc: ... here.
* testsuite/tr1/4_metaprogramming/aligned_storage/requirements/
typedefs.cc: Move...
* testsuite/tr1/4_metaprogramming/aligned_storage/value.cc: ... here.
From-SVN: r125283
2007-06-02 17:24:09 +00:00
Paolo Bonzini
82a6cadf50
configure: Regenerate.
...
boehm-gc:
2007-06-02 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
libffi:
2007-06-02 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
libgfortran:
2007-06-02 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
libgomp:
2007-06-02 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
libjava:
2007-06-02 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
libmudflap:
2007-06-02 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
libobjc:
2007-06-02 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
libssp:
2007-06-02 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
libstdc++-v3:
2007-06-02 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
zlib:
2007-06-02 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
From-SVN: r125278
2007-06-02 08:18:15 +00:00
Benjamin Kosnik
5e984b909c
what-big.cc: New.
...
2007-06-01 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/19_diagnostics/logic_error/what-big.cc: New.
* testsuite/19_diagnostics/logic_error/what-3.cc: Same.
* testsuite/19_diagnostics/runtime_error/what-big.cc: Same.
* testsuite/19_diagnostics/runtime_error/what-3.cc: Same.
* testsuite/18_support/14493.cc: Break into...
* testsuite/18_support/exception/what.cc: ...this.
* testsuite/18_support/bad_cast/what.cc: ...this.
* testsuite/18_support/bad_alloc/what.cc: ...this.
* testsuite/18_support/bad_typeid/what.cc: ...this.
* testsuite/18_support/bad_exception/what.cc: ...this.
* testsuite/19_diagnostics/bad_exception/23591_thread-1.c: Move...
* testsuite/18_support/bad_exception/23591_thread-1.c: ...here.
* testsuite/18_support/14026.cc: Move...
* testsuite/18_support/uncaught_exception/14026.cc: ...here.
From-SVN: r125267
2007-06-01 17:03:22 +00:00
Benjamin Kosnik
b8637750d3
throw_allocator.h (__throw_allocator::allocate): Throw bad_alloc for out of memory conditions.
...
2007-06-01 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/throw_allocator.h (__throw_allocator::allocate):
Throw bad_alloc for out of memory conditions.
* testsuite/ext/throw_allocator/deallocate_global.cc: New.
* testsuite/ext/throw_allocator/check_delete.cc: Same.
* testsuite/ext/throw_allocator/check_allocate_max_size.cc: Same.
* testsuite/ext/throw_allocator/check_deallocate_null.cc: Same.
* testsuite/ext/throw_allocator/explicit_instantiation.cc: Same.
* testsuite/ext/throw_allocator/check_new.cc: Same.
* testsuite/ext/throw_allocator/deallocate_local.cc: Same.
From-SVN: r125261
2007-06-01 10:09:40 +00:00
Paolo Carlini
e133ace8d9
re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x)
...
2007-05-31 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/31426
* include/bits/c++config: Remove namespace association bits
from tr1 to std.
* include/ext/type_traits.h (__promote, __promote2,
__promote3, __promote4): Add.
* include/bits/hashtable.h: New.
* include/bits/functional_hash.h: Likewise.
* include/tr1/hashtable.h: Likewise.
* include/tr1_impl/random: New.
* include/tr1_impl/cinttypes: Likewise.
* include/tr1_impl/cstdlib: Likewise.
* include/tr1_impl/unordered_map: Likewise.
* include/tr1_impl/cstdio: Likewise.
* include/tr1_impl/boost_shared_ptr.h: Likewise.
* include/tr1_impl/cctype: Likewise.
* include/tr1_impl/random.tcc: Likewise.
* include/tr1_impl/tuple: Likewise.
* include/tr1_impl/functional_hash.h: Likewise.
* include/tr1_impl/hashtable: Likewise.
* include/tr1_impl/cmath: Likewise.
* include/tr1_impl/type_traitsfwd.h: Likewise.
* include/tr1_impl/hashtable_policy.h: Likewise.
* include/tr1_impl/cfenv: Likewise.
* include/tr1_impl/unordered_set: Likewise.
* include/tr1_impl/functional: Likewise.
* include/tr1_impl/utility: Likewise.
* include/tr1_impl/complex: Likewise.
* include/tr1_impl/type_traits: Likewise.
* include/tr1_impl/cwchar: Likewise.
* include/tr1_impl/cstdint: Likewise.
* include/tr1_impl/regex: Likewise.
* include/tr1_impl/array: Likewise.
* include/tr1_impl/cwctype: Likewise.
* include/tr1/type_traitsfwd.h: Remove.
* include/tr1/boost_shared_ptr.h: Likewise.
* include/tr1/common.h: Likewise.
* include/tr1/hashtable: Likewise.
* include/tr1/hashtable_policy.h: Likewise.
* include/tr1/random.tcc: Likewise.
* include/c_global/cinttypes: Include tr1_impl/cinttypes.
* include/c_global/cstdlib: Likewise for cstdlib.
* include/c_global/cstdio: Likewise for cstdio.
* include/c_global/cctype: Likewise for cctype.
* include/c_global/cmath: Likewise for cmath.
* include/c_global/cfenv: Likewise for cfenv.
* include/c_global/cwchar: Likewise for cwchar.
* include/c_global/cstdint: Likewise for cstdint.
* include/c_global/cwctype: Likewise for cwctype.
* include/tr1/cinttypes: Likewise for cinttypes.
* include/tr1/cstdlib: Likewise for cstdlib.
* include/tr1/cstdio: Likewise for cstdio.
* include/tr1/cctype: Likewise for cctype.
* include/tr1/cmath: Likewise for cmath.
* include/tr1/cfenv: Likewise for cfenv.
* include/tr1/cwchar: Likewise for cwchar.
* include/tr1/cstdint: Likewise for cstdint.
* include/tr1/cwctype: Likewise for cwctype.
* include/tr1/functional_hash.h: Likewise for functional_hash.
* include/std/tuple: Include tr1_impl/tuple.
* include/std/utility: Likewise for utility.
* include/std/type_traits: Likewise for type_traits.
(is_pod): Just forward to __is_pod.
(has_trivial_default_constructor): Just forward to
__has_trivial_constructor.
(has_trivial_copy_constructor): Just forward to __has_trivial_copy.
(has_trivial_assign): Just forward to __has_trivial_assign.
(has_trivial_destructor): Just forward to __has_trivial_destructor.
(has_nothrow_default_constructor): Just forward to
__has_nothrow_constructor.
(has_nothrow_copy_constructor): Just forward to __has_nothrow_copy.
(has_nothrow_assign): Just forward to __has_nothrow_assign.
(is_base_of): Just forward to __is_base_of.
(is_signed, is_unsigned): Implement according to the C++0x
specifications.
* include/std/memory: Likewise for memory.
* include/std/regex: Likewise for regex.
* include/std/random: Likewise for random.
* include/std/unordered_map: Likewise for unordered_map.
* include/std/unordered_set: Likewise for unordered_set.
* include/std/functional: Likewise for functional.
* include/std/complex: Likewise for complex.
* include/std/array: Likewise for array.
* include/tr1/tuple: Likewise for tuple.
* include/tr1/utility: Likewise for utility.
* include/tr1/type_traits: Likewise for type_traits
* include/tr1/memory: Likewise for memory.
* include/tr1/regex: Likewise for regex.
* include/tr1/random: Likewise for random.
* include/tr1/unordered_map: Likewise for unordered_map.
* include/tr1/unordered_set: Likewise for unordered_set.
* include/tr1/functional: Likewise for functional.
* include/tr1/complex: Likewise for complex.
* include/tr1/array: Likewise for array.
* include/c_global/ctgmath: Tweak.
* include/c_global/cstdarg: Likewise.
* include/c_global/ctime: Likewise.
* include/c_global/climits: Likewise.
* include/c_global/cfloat: Likewise.
* include/c_global/ccomplex: Likewise.
* include/c_global/cstdbool: Likewise.
* include/tr1/poly_laguerre.tcc: Tweak, don't use _GLIBCXX_TR1.
* include/tr1/riemann_zeta.tcc: Likewise.
* include/tr1/beta_function.tcc: Likewise.
* include/tr1/exp_integral.tcc: Likewise.
* include/tr1/hypergeometric.tcc: Likewise.
* include/tr1/modified_bessel_func.tcc: Likewise.
* include/tr1/legendre_function.tcc: Likewise.
* include/tr1/special_function_util.h: Likewise.
* include/tr1/bessel_function.tcc: Likewise.
* include/tr1/poly_hermite.tcc: Likewise.
* include/tr1/ell_integral.tcc: Likewise.
* include/tr1/gamma.tcc: Likewise.
* include/tr1/stdlib.h: Likewise.
* include/tr1/math.h: Likewise.
* include/tr1/complex.h: Minor tweaks.
* include/tr1/wctype.h: Likewise.
* include/tr1/wchar.h: Likewise.
* include/tr1/inttypes.h: Likewise.
* include/tr1/tgmath.h: Likewise.
* include/tr1/cstdbool: Likewise.
* include/tr1/cfloat: Likewise.
* include/tr1/ccomplex: Likewise.
* include/tr1/ctime: Likewise.
* include/tr1/climits: Likewise.
* include/tr1/ctgmath: Likewise.
* include/tr1/cstdarg: Likewise.
* testsuite/tr1/headers.cc: Move...
* testsuite/tr1/headers/all.cc: ... here.
* testsuite/tr1/using_namespace_std_tr1.cc: Move...
* testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: ... here.
* testsuite/tr1/headers/using_namespace_std_tr1.cc ... here.
* testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: New.
* testsuite/20_util/tuple/requirements/explicit_instantiation.cc:
Adjust namespace.
* testsuite/20_util/has_nothrow_copy_constructor/value.cc: Adjust to
the C++0x requirements.
* testsuite/20_util/has_nothrow_default_constructor/value.cc: Likewise.
* testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
* testsuite/20_util/has_trivial_default_constructor/value.cc: Likewise.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
dg-error lines.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc:
Un-xfail.
* testsuite/20_util/is_signed/value.cc: New.
* testsuite/20_util/is_signed/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_signed/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_unsigned/value.cc: Likewise..
* testsuite/20_util/is_unsigned/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc:
Likewise.
* include/Makefile.am: Adjust.
* include/Makefile.in: Regenerate.
From-SVN: r125244
2007-05-31 23:37:56 +00:00
Paolo Carlini
f4c5578ffb
PR c++/32158 (libstdc++ bits)
...
2007-05-31 Paolo Carlini <pcarlini@suse.de>
PR c++/32158 (libstdc++ bits)
* include/bits/stl_uninitialized.h (__uninitialized_copy_aux,
__uninitialized_fill_aux, __uninitialized_fill_n_aux):
Remove.
(struct __uninitialized_copy, struct __uninitialized_fill,
struct __uninitialized_fill_n): Add.
(uninitialized_copy, uninitialized_fill, uninitialized_fill_n):
Adjust.
* testsuite/20_util/specialized_algorithms/32158.cc: New.
* include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
_InputIterator, _ForwardIterator)): Robustify vs non-POD input.
* include/bits/stl_vector.h (_M_fill_initialize): New.
(vector(size_type, const value_type&, const allocator_type&),
_M_initialize_dispatch(_Integer, _Integer, __true_type)): Use it.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Likewise.
From-SVN: r125223
2007-05-31 11:13:57 +00:00
Paolo Carlini
f5062a66be
aclocal.m4: Regenerate.
...
2007-05-29 Paolo Carlini <pcarlini@suse.de>
* aclocal.m4: Regenerate.
* testsuite/17_intro/headers/c++1998/c++_for_c.tar: Remove.
* testsuite/17_intro/headers/c++1998/c++.tar: Likewise.
From-SVN: r125163
2007-05-29 14:22:40 +00:00
Benjamin Kosnik
0258dc3a2c
re PR libstdc++/31717 (libstdc++-v3 - Make fails with: ./c++locale.h:69: error: '__locale_t' does not name a type)
...
2007-05-28 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/31717
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Re-organize. Sanity check
gnu locale model requests to make sure it will work for the requested
target. Add checks for strxfrm_l, strerror_l when in gnu locale,
and strerror_r everywhere.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* config.h.in: Regenerated.
From-SVN: r125134
2007-05-28 17:02:30 +00:00
Paolo Carlini
67a7356b32
2007-05-27 Paolo Carlini <pcarlini@suse.de>
...
* include/tr1/boost_shared_ptr.h
(_Sp_counted_base<_S_mutex>::_M_add_ref_lock()): Do not wrap in
#ifdef __GTHREADS.
2007-05-27 Paolo Carlini <pcarlini@suse.de>
* include/c_global/cwchar: Do not include <ctime>.
* include/c_std/cwchar: Likewise.
* include/ext/throw_allocator.h: Do it here.
From-SVN: r125112
2007-05-27 14:50:21 +00:00
Paolo Carlini
aaee3e893d
c_locale.h (__convert_from_v): Fix typo.
...
2007-05-25 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/c_locale.h (__convert_from_v): Fix typo.
From-SVN: r125059
2007-05-25 09:28:48 +00:00
Paolo Carlini
8679a8ef55
concurrence.h: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_*.
...
2007-05-24 Paolo Carlini <pcarlini@suse.de>
* include/ext/concurrence.h: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_*.
From-SVN: r125044
2007-05-24 22:18:07 +00:00
Steve Ellcey
1cf3d07da6
ltmain.sh: Update from ToT Libtool.
...
* ltmain.sh: Update from ToT Libtool.
* libtool.m4: Update from ToT Libtool.
* ltsugar.m4: New. Update from ToT Libtool.
* ltversion.m4: New. Update from ToT Libtool.
* ltoptions.m4: New. Update from ToT Libtool.
* ltconfig: Remove.
* ltcf-c.sh: Remove.
* ltcf-cxx.sh: Remove.
* ltcf-gcj.sh: Remove.
* Regenerate all subdirs
From-SVN: r125032
2007-05-24 16:37:27 +00:00
Paolo Carlini
f697c80d81
c_locale.h (__convert_from_v): Only switch to the "C" locale if the current one isn't already "C" (for old glibcs).
...
2007-05-24 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/c_locale.h (__convert_from_v): Only switch to the
"C" locale if the current one isn't already "C" (for old glibcs).
* config/os/gnu-linux/ctype_noninline.h (ctype<char>::classic_table,
ctype<char>::ctype(__c_locale, const mask*, bool, size_t),
ctype<char>::ctype(const mask*, bool, size_t)): Likewise, for generic
locale model.
* config/locale/gnu/messages_members.h
(messages<>::messages(__c_locale, const char*, size_t),
messages_byname<_CharT>::messages_byname(const char*, size_t)):
Only dynamically allocate memory if __s != "C".
* config/locale/gnu/time_members.h
(__timepunct<_CharT>::__timepunct(__c_locale, const char*, size_t)):
Likewise.
* config/locale/generic/time_members.h
(__timepunct<_CharT>::__timepunct(__c_locale, const char*, size_t)):
Likewise.
* testsuite/util/testsuite_allocator.h: Revert last change.
From-SVN: r125028
2007-05-24 14:49:45 +00:00
Paolo Carlini
b0e94ec920
testsuite_allocator.h (check_new): Assign false to new_called.
...
2007-05-22 Paolo Carlini <pcarlini@suse.de>
* testsuite/util/testsuite_allocator.h (check_new): Assign false
to new_called.
(check_delete): Likewise for delete_called.
From-SVN: r124966
2007-05-22 22:43:22 +00:00
Paolo Carlini
32c8d4b145
c_locale.h: Do not include <cstdarg>, use builtins.
...
2007-05-21 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/c_locale.h: Do not include <cstdarg>, use builtins.
* config/locale/generic/c_locale.h: Likewise.
From-SVN: r124907
2007-05-21 19:22:35 +00:00
Paolo Carlini
2a0ab51c79
re PR libstdc++/31621 (libstdc++ uses -xc++ which can cause exceptions to show up which causes __gxx_personality_v0 to be referenced)
...
2007-05-21 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/31621
* acinclude.m4 ([GLIBCXX_CHECK_LINKER_FEATURES]): Use the C compiler.
* configure: Regenerate.
From-SVN: r124896
2007-05-21 10:25:52 +00:00
Paolo Carlini
da5a2efd39
stl_algo.h: Shuffle the functions to better match the order in the standard.
...
2007-05-20 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algo.h: Shuffle the functions to better match the
order in the standard.
From-SVN: r124874
2007-05-20 17:48:36 +00:00
Paolo Carlini
9940897603
c_locale.h: Do not include <libintl.h>.
...
2007-05-17 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/c_locale.h: Do not include <libintl.h>.
* config/locale/gnu/messages_members.h: Do it here.
* config/locale/gnu/c_locale.h: Do not include <cstdio>, use
the builtins.
* config/locale/generic/c_locale.h: Likewise.
From-SVN: r124803
2007-05-17 16:10:10 +00:00
Benjamin Kosnik
85ee35cae8
acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add -g to compile flags, move code to test to global scope.
...
2007-05-17 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add -g to
compile flags, move code to test to global scope.
* configure: Regenerate.
From-SVN: r124802
2007-05-17 15:08:48 +00:00
Benjamin Kosnik
a4e6a80f67
typedefs.cc: Fix dg bits.
...
2007-05-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc:
Fix dg bits.
* testsuite/21_strings/char_traits/requirements/char/typedefs.cc: Same.
From-SVN: r124793
2007-05-17 12:01:43 +00:00
Paolo Carlini
1d1c53d561
stl_algobase.h (mismatch): Move...
...
2007-05-17 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (mismatch): Move...
* include/bits/stl_algo.h: ... here.
From-SVN: r124792
2007-05-17 11:52:06 +00:00