Benjamin Kosnik
805c2c336c
hash_based_containers.html: Correct.
...
2007-09-17 Benjamin Kosnik <bkoz@redhat.com>
Chalathip Thumkanon <chalathip@gmail.com>
* docs/html/ext/pb_ds/hash_based_containers.html: Correct.
Co-Authored-By: Chalathip Thumkanon <chalathip@gmail.com>
From-SVN: r128588
2007-09-18 22:48:29 +00:00
Benjamin Kosnik
bdfb7c6d56
configure.host: Set atomic_flags on i486.
...
2007-09-17 Benjamin Kosnik <bkoz@redhat.com>
* configure.host: Set atomic_flags on i486.
* include/Makefile.am: Remove parallel-mode pch.
* include/Makefile.in: Regenerate.
* testsuite/lib/libstdc++.exp: Set ld_library_flags for libgomp if
present.
* acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Comment.
* configure: Regenerate.
From-SVN: r128579
2007-09-18 15:25:39 +00:00
Johannes Singler
a3e6b31a0f
for_each.h: Fixed comment/doxygen markup typos.
...
2007-09-17 Johannes Singler <singler@ira.uka.de>
* include/parallel/for_each.h: Fixed comment/doxygen markup typos.
* include/parallel/base.h: Same.
* include/parallel/numeric: Same.
* include/parallel/quicksort.h: Same.
* include/parallel/compiletime_settings.h: Same.
* include/parallel/random_shuffle.h: Same.
* include/parallel/balanced_quicksort.h: Same.
* include/parallel/tree.h: Same.
* include/parallel/settings.h: Same.
* include/parallel/search.h: Same.
* include/parallel/partition.h: Same.
* include/parallel/partial_sum.h: Same.
From-SVN: r128545
2007-09-17 12:58:07 +00:00
Paolo Carlini
fd735b6a2e
type_traitsfwd.h (aligned_storage): Remove declaration.
...
2007-09-17 Paolo Carlini <pcarlini@suse.de>
* include/tr1_impl/type_traitsfwd.h (aligned_storage): Remove
declaration.
* include/tr1_impl/type_traits (aligned_storage): Remove.
* include/std/type_traits (aligned_storage, __aligned_storage_msa):
Add.
* include/tr1/type_traits (aligned_storage): Add.
* testsuite/20_util/aligned_storage/value.cc: New.
* testsuite/20_util/aligned_storage/requirements/
explicit_instantiation.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.
From-SVN: r128542
2007-09-17 10:18:51 +00:00
Paolo Carlini
1f9e358abb
type_traits (aligned_storage): Implement in the neat and general way.
...
2007-09-16 Paolo Carlini <pcarlini@suse.de>
Douglas Gregor <doug.gregor@gmail.com>
* include/tr1_impl/type_traits (aligned_storage): Implement
in the neat and general way.
Co-Authored-By: Douglas Gregor <doug.gregor@gmail.com>
From-SVN: r128532
2007-09-16 23:59:34 +00:00
Benjamin Kosnik
c5654e49f0
base.h (__gnu_parallel::less<Tp>): Add partial specialization for one argument.
...
2007-09-14 Benjamin Kosnik <bkoz@redhat.com>
* include/parallel/base.h (__gnu_parallel::less<Tp>): Add partial
specialization for one argument.
(__gnu_parallel::less): Add operator.
* include/parallel/multiway_merge.h: Use __builtin_alloca.
* include/parallel/partial_sum.h: Same.
* include/parallel/find.h: Same.
From-SVN: r128505
2007-09-14 20:37:25 +00:00
Jonathan Wakely
e31fc6a531
boost_shared_ptr.h: (__weak_ptr::lock()): Add missing template argument.
...
2007-09-14 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/tr1_impl/boost_shared_ptr.h: (__weak_ptr::lock()): Add
missing template argument.
* testsuite/tr1/2_general_utilities/shared_ptr/requirements/
explicit_instantiation/2.cc: New.
* testsuite/tr1/2_general_utilities/weak_ptr/requirements/
explicit_instantiation/2.cc: New.
From-SVN: r128503
2007-09-14 21:17:29 +01:00
Benjamin Kosnik
c417817a85
all_pedantic_errors.cc: New.
...
2007-09-14 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/17_intro/headers/all_pedantic_errors.cc: New.
* include/tr1_impl/cinttypes: Add pragma GCC system_header.
* include/tr1_impl/cfenv: Same.
* include/tr1_impl/cstdint: Same.
* include/tr1/cstdbool: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Same.
* include/parallel/partial_sum.h: Avoid VLA error with
__builtin_alloca.
From-SVN: r128500
2007-09-14 17:46:56 +00:00
Richard Sandiford
d9dced1370
configure.ac (mips*-sde-elf*): New stanza.
...
* configure.ac (mips*-sde-elf*): New stanza. Add target-libiberty
to $skipdirs and only disable gprof for newlib. Use the normal
mips*-elf* handling in other respects.
* configure: Regnerate.
gcc/
2007-xx-xx Nigel Stephens <nigel@mips.com>
David Ung <davidu@mips.com>
Thiemo Seufer <ths@mips.com>
Richard Sandiford <richard@codesourcery.com>
* config.gcc (mips*-sde-elf*): Add support for the SDE C libraries.
* configure.ac: Add a mipssde threading type.
* configure: Regenerate.
* config/mips/sdemtk.h: New file.
* config/mips/t-sdemtk: Likewise.
* config/mips/sdemtk.opt: Likewise.
* gthr-mipssde.h: Likewise.
* config/mips/sde.h (FUNCTION_PROFILER): Move to config/mips/sdemtk.h.
* config/mips/mips.h (MIPS_SAVE_REG_FOR_PROFILING_P): New macro.
(MIPS_ICACHE_SYNC): New macro, split from ...
* config/mips/mips.md (clear_cache): ...here.
* config/mips/mips.c (mips_save_reg_p): Check
MIPS_SAVE_REG_FOR_PROFILING_P on profiled functions.
(build_mips16_function_stub): Use targetm.strip_name_encoding.
(build_mips16_call_stub): Likewise.
libstdc++-v3/
2007-xx-xx Thiemo Seufer <ths@mips.com>
* crossconfig.m4 (mips*-sde-elf*): New stanza.
* configure: Regenerate.
From-SVN: r128495
2007-09-14 14:50:26 +00:00
Benjamin Kosnik
5e11f978ed
*: Change namespace pb_ds to __gnu_pbds.
...
2007-09-12 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/pb_ds/*: Change namespace pb_ds to __gnu_pbds.
* docs/html/ext/pb_ds/*: Same.
* testsuite/ext/pb_ds/*: Same.
* testsuite/performance/ext/pb_ds/*: Same.
* testsuite/util/*: Same.
From-SVN: r128448
2007-09-12 23:06:27 +00:00
Benjamin Kosnik
94dabea728
find.h: Doxygen fixups.
...
2007-09-12 Benjamin Kosnik <bkoz@redhat.com>
* include/parallel/find.h: Doxygen fixups.
* include/bits/hashtable.h: Same.
From-SVN: r128440
2007-09-12 15:33:43 +00:00
Johannes Singler
c2ba97097b
Add parallel mode.
...
2007-09-11 Johannes Singler <singler@ira.uka.de>
Leonor Frias Moya <lfrias@lsi.upc.edu>
Felix Putze <kontakt@felix-putze.de>
Marius Elvert <marius.elvert@ira.uka.de>
Felix Bondarenko <f.bondarenko@web.de>
Robert Geisberger <robert.geisberger@stud.uni-karlsruhe.de>
Robin Dapp <r.dapp@freenet.de>
Benjamin Kosnik <bkoz@redhat.com>
Add parallel mode.
* include/parallel: New.
* include/parallel/iterator.h: New.
* include/parallel/multiway_merge.h: New.
* include/parallel/parallel.h: New.
* include/parallel/algorithm
* include/parallel/find_selectors.h: New.
* include/parallel/losertree.h: New.
* include/parallel/list_partition.h: New.
* include/parallel/types.h: New.
* include/parallel/for_each.h: New.
* include/parallel/multiseq_selection.h: New.
* include/parallel/workstealing.h: New.
* include/parallel/base.h: New.
* include/parallel/par_loop.h: New.
* include/parallel/numeric
* include/parallel/features.h: New.
* include/parallel/quicksort.h: New.
* include/parallel/algorithmfwd.h: New.
* include/parallel/equally_split.h: New.
* include/parallel/compiletime_settings.h: New.
* include/parallel/for_each_selectors.h: New.
* include/parallel/basic_iterator.h: New.
* include/parallel/omp_loop_static.h: New.
* include/parallel/random_shuffle.h: New.
* include/parallel/balanced_quicksort.h: New.
* include/parallel/set_operations.h: New.
* include/parallel/tags.h: New.
* include/parallel/merge.h: New.
* include/parallel/tree.h: New.
* include/parallel/settings.h: New.
* include/parallel/unique_copy.h: New.
* include/parallel/multiway_mergesort.h: New.
* include/parallel/numericfwd.h: New.
* include/parallel/search.h: New.
* include/parallel/partition.h: New.
* include/parallel/compatibility.h: New.
* include/parallel/algobase.h: New.
* include/parallel/find.h: New.
* include/parallel/partial_sum.h: New.
* include/parallel/algo.h: New.
* include/parallel/omp_loop.h: New.
* include/parallel/queue.h: New.
* include/parallel/timing.h: New.
* include/parallel/sort.h: New.
* include/parallel/checkers.h: New.
* include/parallel/random_number.h: New.
* include/bits/algorithmfwd.h: New.
* acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): New.
* configure.host: Add atomic_flags.
* configure.ac: Export ATOMIC_FLAGS, call GLIBCXX_ENABLE_PARALLEL.
* src/Makefile.am: Add parallel_list rules.
* include/Makefile.am: Add parallel files.
* testsuite/Makefile.am (check-parallel): Add.
(check-performance-parallel): Add.
* config.h.in: Regenerate.
* configure: Same.
* libsupc++/Makefile.in: Same.
* testsuite/Makefile.in: Same.
* Makefile.in: Same.
* libmath/Makefile.in: Same.
* include/Makefile.in: Same.
* src/Makefile.in: Same.
* po/Makefile.in: Same.
* config/abi/pre/gnu.ver: Export parallel list bits.
* docs/html/parallel_mode.html: New.
* docs/html/documentation.html: Add link.
* docs/doxygen/user.cfg.in: Adjust for new files and directory.
* docs/doxygen/doxygroups.cc: Adjust namespace markup.
* include/debug/set.h: Adjust for _GLIBCXX_STD_D or _P change.
* include/debug/bitset: Same.
* include/debug/multiset.h: Same.
* include/debug/vector: Same.
* include/debug/map.h: Same.
* include/debug/deque: Same.
* include/debug/list: Same.
* include/debug/debug.h: Same.
* include/debug/multimap.h: Same.
* include/std/algorithm: Same.
* include/std/numeric: Same.
* include/std/bitset: Same.
* include/std/string: Same.
* include/ext/hash_map: Same.
* include/ext/hash_set: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_vector.h: Same.
* include/bits/stl_numeric.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/char_traits.h: Same.
* include/bits/stl_algo.h: Same.
* include/bits/c++config: Same.
* include/bits/vector.tcc: Same.
* include/bits/deque.tcc: Same.
* include/bits/stl_bvector.h: Same.
* include/bits/list.tcc: Same.
* src/list.cc: Same.
* src/parallel_list.cc: New.
* testsuite/lib/libstdc++.exp (check_v3_target_parallel_mode): New.
* testsuite/lib/dg-options.exp (dg-require-parallel-mode): New.
* scripts/testsuite_flags.in (--cxxparallelflags): New.
* scripts/check_performance: Adjust.
* testsuite/25_algorithms/headers/parallel_algorithm.cc: New.
* testsuite/25_algorithms/headers/algorithm_parallel_mode.cc: New.
* testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc: New.
* testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc: New.
* testsuite/26_numerics/headers/numeric/parallel_numeric.cc: New.
* testsuite/26_numerics/headers/numeric/numeric_parallel_mode.cc: New.
* testsuite/26_numerics/headers/numeric/
parallel_numeric_mixed1.cc: New.
* testsuite/26_numerics/headers/numeric/
parallel_numeric_mixed2.cc: New.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
Co-Authored-By: Felix Bondarenko <f.bondarenko@web.de>
Co-Authored-By: Felix Putze <kontakt@felix-putze.de>
Co-Authored-By: Leonor Frias Moya <lfrias@lsi.upc.edu>
Co-Authored-By: Marius Elvert <marius.elvert@ira.uka.de>
Co-Authored-By: Robert Geisberger <robert.geisberger@stud.uni-karlsruhe.de>
Co-Authored-By: Robin Dapp <r.dapp@freenet.de>
From-SVN: r128395
2007-09-11 22:32:51 +00:00
Daniel Jacobowitz
fa6763a6fc
libstdc++.exp (libstdc++_init): Revert part of 2007-09-06 change.
...
* testsuite/lib/libstdc++.exp (libstdc++_init): Revert part of
2007-09-06 change.
From-SVN: r128384
2007-09-11 15:48:15 +00:00
Roger Sayle
3110357b8f
acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ECANCELED for cygwin.
...
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ECANCELED for cygwin.
* configure: Regenerate.
* config/os/generic/error_constants.h: Guard.
* testsuite/19_diagnostics/headers/system_error/
types_std_c++0x.cc: Same.
From-SVN: r128307
2007-09-09 21:47:04 +00:00
Benjamin Kosnik
0098d80686
binary_search.cc: Move...
...
2007-09-09 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/25_algorithms/binary_search.cc: Move...
* testsuite/25_algorithms/binary_search/2.cc: ...here.
* testsuite/25_algorithms/sort.cc: Move...
* testsuite/25_algorithms/sort/1.cc: ...here.
* testsuite/25_algorithms/partial_sort_copy/2.cc: ...here.
* testsuite/25_algorithms/nth_element/3.cc: ...here.
* testsuite/25_algorithms/partial_sort/2.cc: ...here.
* testsuite/25_algorithms/stable_sort/2.cc: ...here.
* testsuite/25_algorithms/min_max.cc: Move...
* testsuite/25_algorithms/min/1.cc: ...here.
* testsuite/25_algorithms/min/2.cc: ...here.
* testsuite/25_algorithms/max/1.cc: ...here.
* testsuite/25_algorithms/max/2.cc: ...here.
From-SVN: r128303
2007-09-09 18:56:00 +00:00
Joseph Myers
7cff41e891
file-format.exp (gcc_target_object_format): Use remote_exec to call objdump.
...
gcc/testsuite:
* lib/file-format.exp (gcc_target_object_format): Use remote_exec
to call objdump.
* lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not):
Use remote_exec to call c++filt.
* lib/target-supports-dg.exp (dg-require-host-local): New.
* gcc.misc-tests/options.exp: Allow .exe in command paths.
* g++.dg/parse/repo1.C: Use dg-require-host-local.
* g++.dg/rtti/repo1.C: Likewise.
* g++.dg/template/repo1.C: Likewise.
* g++.dg/template/repo2.C: Likewise.
* g++.dg/template/repo3.C: Likewise.
* g++.dg/template/repo4.C: Likewise.
* g++.dg/template/repo5.C: Likewise.
* g++.old-deja/g++.pt/instantiate4.C: Likewise.
* g++.old-deja/g++.pt/instantiate6.C: Likewise.
* g++.old-deja/g++.pt/repo1.C: Likewise.
* g++.old-deja/g++.pt/repo2.C: Likewise.
* g++.old-deja/g++.pt/repo3.C: Likewise.
* g++.old-deja/g++.pt/repo4.C: Likewise.
* gcc.dg/cpp/trad/builtins.c: Likewise.
libstdc++-v3:
* testsuite/lib/libstdc++.exp (v3-build-support): Specify output
file for preprocessing. Use remote_exec to call ar and ranlib.
From-SVN: r128283
2007-09-09 02:10:17 +01:00
Benjamin Kosnik
9adfc73cd3
functional_hash.h: Add ext/numeric_traits.h.
...
2007-09-08 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/functional_hash.h: Add ext/numeric_traits.h.
* include/tr1/functional_hash.h Same.
* include/tr1/functional: Remove string, ext/type_traits.h includes.
* include/tr1_impl/functional_hash.h: Move string, wstring
definitions for std::<hash>::operator into separate file.
* include/std/functional
* src/hash.cc: New, move definitions here.
* src/hash_c++0x.cc: Same.
* src/Makefile.am: Add new source files.
* configure: Regenerate.
* Makefile.in: Same.
* src/Makefile.in: Same.
* po/Makefile.in: Same.
* libmath/Makefile.in: Same.
* libsupc++/Makefile.in: Same.
* testsuite/Makefile.in: Same.
* config/abi/pre/gnu.ver: Add symbols.
* config/abi/pre/gnu-versioned-namespace.ver: Same, fix.
From-SVN: r128278
2007-09-09 00:05:13 +00:00
Benjamin Kosnik
12187c13b9
copy_neg.cc: Correct line number.
...
2007-09-07 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/19_diagnostics/error_category/cons/copy_neg.cc:
Correct line number.
From-SVN: r128255
2007-09-07 21:09:35 +00:00
Danny Smith
e4bf5dfca1
re PR libstdc++/33203 (libstdc++-v3 build broken on i386-pc-mingw32)
...
PR libstdc++/33203
* configure.host (error_constants_dir): New variable,
defaulting to os/generic.
( mingw32*): Overide default.
* configure.ac (ERROR_CONSTANTS_SRCDIR): New.
* configure: Regenerate.
* include/Makefile.am (host_headers): Add
$(ERROR_CONSTANTS_SRCDIR)/error_constants.h .
* include/Makefile.in: Regenerate.
* include/std/system_error (enum posix_errno): Remove.
Include <bits/error_constants.h> instead.
* config/os/mingw32/error_constants.h: New.
* config/os/generic/error_constants.h: New.
From-SVN: r128228
2007-09-07 04:18:40 +00:00
Benjamin Kosnik
bd1a56a0c3
libstdc++.exp: Check CXXFLAGS.
...
2007-09-06 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/lib/libstdc++.exp: Check CXXFLAGS.
* scripts/testsuite_flags.in: CXXFLAGS_default, matching dejagnu.
* include/std/ostream: Spacing tweak.
* include/ext/hashtable.h: Use <algorithm>.
* include/ext/slist: Same.
* include/ext/rope: Same.
* include/bits/stl_function.h: Format.
* include/tr1_impl/array: Remove section number in doxygen markup.
* src/list.cc: Comment tweak.
* docs/doxygen/user.cfg.in: Update for include/tr1_impl.
* testsuite/25_algorithms/search_n/iterator.cc: Add using declaration.
* testsuite/25_algorithms/nth_element/1.cc: Same.
* testsuite/21_strings/char_traits/requirements/short/1.cc: Use
char_type typedef to the underlying character type.
* testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc:
Remove -ansi -pedantic-errors.
* testsuite/21_strings/char_traits/requirements/char/typedefs.cc: Same.
* testsuite/tr1/6_containers/headers/functional/synopsis.cc:
Remove specializations.
From-SVN: r128225
2007-09-07 03:01:53 +00:00
Benjamin Kosnik
e054e6fb64
re PR libstdc++/29367 (pb_ds hash containers vs. _GLIBCXX_DEBUG)
...
2007-09-06 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/29367
* include/ext/pb_ds/detail/map_debug_base.hpp: From this..
* include/ext/pb_ds/detail/debug_map_base.hpp: ...to this.
Rename map_debug_base to debug_map_base, add std::pair output
extractors, change duplicate map_debug_base typedef in containers
to debug_base. Use m_store_extra_indicator for m_store_hash_indicator.
* include/ext/pb_ds/*: Likewise.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerate.
From-SVN: r128222
2007-09-07 02:25:45 +00:00
Paolo Carlini
ccd04b9f89
stl_vector.h (_Vector_base<>::_M_allocate): Do not call _M_impl.allocate when __n == 0.
...
2007-09-06 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_vector.h (_Vector_base<>::_M_allocate):
Do not call _M_impl.allocate when __n == 0.
* testsuite/23_containers/vector/zero_sized_allocations.cc: New.
From-SVN: r128220
2007-09-07 01:37:31 +00:00
Matthias Klose
6f6cc094a0
cstdlib: Remove empty directory.
...
2007-09-06 Matthias Klose <doko@debian.org>
* testsuite/27_io/headers/cstdlib: Remove empty directory.
From-SVN: r128204
2007-09-06 19:17:30 +00:00
Roger Sayle
7336815f6f
acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add EBADMSG for darwin.
...
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add EBADMSG for darwin.
* configure: Regenerate.
* include/std/system_error: Guard.
* testsuite/19_diagnostics/headers/system_error/
types_std_c++0x.cc: Same.
* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
line numbers.
From-SVN: r128154
2007-09-05 21:30:04 +00:00
Paolo Carlini
d46c958bfa
re PR libstdc++/33293 (inlining std::inner_product())
...
2007-09-03 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/33293
* include/bits/stl_numeric.h (accumulate, inner_product):
Add inline function-specifier.
From-SVN: r128053
2007-09-03 17:48:31 +00:00
Doug Gregor
1ab28be596
mangle.c (write_type): Change mangling of rvalue reference from RR' to
O'.
...
2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
* mangle.c (write_type): Change mangling of rvalue reference from
`RR' to `O'.
2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
* demangle.h (enum demangle_component_type): Add
DEMANGLE_COMPONENT_RVALUE_REFERENCE.
2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
* cp-demangle.c (d_dump): Handle
DEMANGLE_COMPONENT_RVALUE_REFERENCE.
(d_make_comp): Ditto.
(cplus_demangle_type): Ditto.
(d_print_comp): Ditto.
(d_print_mod): Ditto.
(d_print_function_type): Ditto.
2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
* testsuite/abi/demangle/cxx0x/rref.cc: New.
From-SVN: r127999
2007-08-31 19:15:26 +00:00
Benjamin Kosnik
e4e5e7f5f8
acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENODATA, ENOSR, ENOSTR, ETIME for freebsd.
...
2007-08-29 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENODATA, ENOSR,
ENOSTR, ETIME for freebsd.
* configure: Regenerate.
* include/std/system_error: Guard.
* testsuite/19_diagnostics/headers/system_error/
types_std_c++0x.cc: Same.
* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
line numbers.
From-SVN: r127912
2007-08-29 19:53:50 +00:00
Paolo Carlini
44d5230cc3
re PR libstdc++/33128 (std::tr1::uniform_int returns value out of range)
...
2007-08-28 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/33128
* include/tr1_impl/random (uniform_int<>::_M_call): Deal with
__urng() returning negative values.
* testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
New.
From-SVN: r127849
2007-08-28 08:48:24 +00:00
Benjamin Kosnik
80bf9cff52
acinclude.m4: Fix duplicate variable names.
...
2007-08-24 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4: Fix duplicate variable names.
* configure: Regenerate.
From-SVN: r127784
2007-08-24 18:05:54 +00:00
Benjamin Kosnik
c6a8035acf
acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENOLINK, EPROTO for netbsd.
...
2007-08-24 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENOLINK, EPROTO
for netbsd.
* configure: Regenerate.
* include/std/system_error: Guard.
* testsuite/19_diagnostics/headers/system_error/
types_std_c++0x.cc: Same.
* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
line numbers.
From-SVN: r127772
2007-08-24 15:19:36 +00:00
Benjamin Kosnik
0646d8a378
system_error: New file.
...
2007-08-23 Benjamin Kosnik <bkoz@redhat.com>
* include/std/system_error: New file.
* src/system_error.cc: New file.
* src/Makefile.am (sources): Add.
* src/Makefile.in: Regenerate.
* include/Makefile.am (std_headers): Add system_error.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): New.
* configure.ac: Call it.
* config.h.in: Regenerate.
* include/bits/functional_hash.h: Add hash<error_code>.
* include/std/ostream: Add inserters for error_code.
* docs/doxygen/user.cfg.in: Add system_error.
* config/abi/pre/gnu.ver(GLIBCXX_3.4.10): Add new symbols.
* testsuite/19_diagnostics/error_code: New.
* testsuite/19_diagnostics/error_code/cons: Same.
* testsuite/19_diagnostics/error_code/cons/1.cc: Same.
* testsuite/19_diagnostics/error_code/operators: Same.
* testsuite/19_diagnostics/error_code/operators/bool.cc: Same.
* testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same.
* testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
* testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
* testsuite/19_diagnostics/error_category: Same.
* testsuite/19_diagnostics/error_category/cons: Same.
* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
* testsuite/19_diagnostics/error_category/cons/default.cc: Same.
* testsuite/19_diagnostics/error_category/operators: Same.
* testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
* testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
* testsuite/19_diagnostics/headers/system_error: Same.
* testsuite/19_diagnostics/headers/system_error/
types_std_c++0x.cc: Same.
* testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Same.
* testsuite/19_diagnostics/system_error: Same.
* testsuite/19_diagnostics/system_error/
cons_virtual_derivation.cc: Same.
* testsuite/19_diagnostics/system_error/cons-1.cc: Same.
* testsuite/19_diagnostics/system_error/what-1.cc: Same.
* testsuite/19_diagnostics/system_error/what-2.cc: Same.
* testsuite/19_diagnostics/system_error/what-big.cc: Same.
* testsuite/19_diagnostics/system_error/what-3.cc: Same.
* testsuite/19_diagnostics/system_error/what-4.cc: Same.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
error_code.cc: Same.
* testsuite/27_io/basic_ostream/inserters_other/char/
error_code.cc: Same.
* testsuite/tr1/6_containers/hash/operators: New.
* testsuite/tr1/6_containers/hash/operators/size_t.cc: Same.
* testsuite/23_containers/hash: Move...
* testsuite/20_util/hash: ... here.
* testsuite/20_util/hash/operators: New.
* testsuite/20_util/hash/operators/size_t.cc: New.
* testsuite/20_util/function_objects/bad_function_call: Move...
* testsuite/20_util/bad_function_call: ...here.
From-SVN: r127744
2007-08-23 16:16:41 +00:00
Benjamin Kosnik
65be6ddd76
Makefile.am (install-data-local): Remove pch-install rules.
...
2007-08-21 Benjamin Kosnik <bkoz@montsouris.artheist.org>
* include/Makefile.am (install-data-local): Remove pch-install rules.
(host_headers): Add stdc++.h, stdtr1c++.h, extc++.h.
* include/Makefile.in: Regenerate.
* config.h.in: Same.
* scripts/check_compile: Remove space between outputs.
* include/ext/throw_allocator.h: Correct doxygen markup.
* include/bits/char_traits.h: Correct spacing.
* include/bits/stl_function.h: Same, for 80 column.
* include/std/valarray: Same.
* testsuite/util/testsuite_iterators.h: Same.
* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Format.
From-SVN: r127685
2007-08-22 01:26:43 +00:00
Daniel Jacobowitz
eb0619fe9e
re PR testsuite/31884 (priority_queue_dijkstra.cc operates on deallocated memory)
...
PR testsuite/31884
* testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc (main): Do
not access deleted nodes.
* testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc,
testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc,
testsuite/27_io/basic_filebuf/open/char/4.cc,
testsuite/27_io/objects/char/9.cc: Use dg-require-fileio.
* testsuite/ext/forced_exception_error/cons_virtual_derivation.cc,
testsuite/ext/pb_ds/regression/hash_data_map_rand.cc,
testsuite/ext/pb_ds/regression/trie_data_map_rand.cc,
testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc,
testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc,
testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc,
testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc,
testsuite/ext/pb_ds/regression/priority_queue_rand.cc,
testsuite/ext/pb_ds/regression/tree_data_map_rand.cc,
testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc,
testsuite/ext/throw_allocator/deallocate_global.cc,
testsuite/ext/throw_allocator/check_delete.cc,
testsuite/ext/throw_allocator/check_allocate_max_size.cc,
testsuite/ext/throw_allocator/check_deallocate_null.cc,
testsuite/ext/throw_allocator/check_new.cc,
testsuite/ext/throw_allocator/deallocate_local.cc,
testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/cons/gen1.cc,
testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/cons/gen1.cc,
testsuite/tr1/5_numerical_facilities/random/linear_congruential/cons/gen1.cc,
testsuite/tr1/5_numerical_facilities/random/mersenne_twister/cons/gen1.cc,
testsuite/23_containers/list/modifiers/insert/25288.cc: Use
dg-require-time.
From-SVN: r127590
2007-08-17 17:24:22 +00:00
Paolo Carlini
4b36461502
typedefs_neg.cc: Adjust dg-error lines.
...
2007-08-17 Paolo Carlini <pcarlini@suse.de>
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
dg-error lines.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Ditto.
From-SVN: r127589
2007-08-17 16:50:35 +00:00
Chris Fairles
6c9bfe999d
re PR libstdc++/33098 ([c++0x] __is_convertible_helper in type_traits uses deprecated add_reference)
...
2007-08-17 Chris Fairles <chris.fairles@gmail.com>
PR libstdc++/33098
* include/std/type_traits (__is_convertible_helper):
Use add_lvalue_reference.
From-SVN: r127588
2007-08-17 16:39:10 +00:00
Johannes Willkomm
5837d3c8f0
re PR libstdc++/33084 (Small typo in valarray header)
...
2007-08-17 Johannes Willkomm <willkomm@sc.rwth-aachen.de>
PR libstdc++/33084
* include/std/valarray (operator _Op(const _Tp&,
const valarray<>&)): Fix typo.
* testsuite/26_numerics/numeric_arrays/valarray/33084.cc: New.
From-SVN: r127579
2007-08-17 09:27:06 +00:00
Jim Blandy
593124a736
Makefile.am (libstdc++-symbol.ver): Make sure the build tree copy of libstdc++-symbol.ver is writeable.
...
* src/Makefile.am (libstdc++-symbol.ver): Make
sure the build tree copy of libstdc++-symbol.ver is writeable.
* src/Makefile.in: Regenerated.
From-SVN: r127279
2007-08-07 21:05:16 +00:00
Paolo Carlini
2ee0c1fb57
DR 660, [Ready] in Toronto.
...
2007-08-02 Paolo Carlini <pcarlini@suse.de>
DR 660, [Ready] in Toronto.
* include/bits/stl_function.h (bit_and, bit_or, bit_xor): Add.
* testsuite/20_util/function_objects/dr660.cc: New.
* docs/html/ext/howto.html: Add an entry for DR 660, update.
* docs/html/ext/lwg-closed.html, docs/html/ext/lwg-active.html,
docs/html/ext/lwg-defects.html: Import Revision 49.
From-SVN: r127166
2007-08-02 17:39:51 +00:00
Paolo Carlini
c2fe93f7ba
re PR libstdc++/32908 (Miss lexicographical_compare random access override)
...
2007-07-30 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/32908
* include/bits/stl_algobase.h (struct __lc_rai): New.
(lexicographical_compare(_II1, _II1, _II2, _II2),
lexicographical_compare(_II1, _II1, _II2, _II2, _Compare)): Use it.
* testsuite/performance/25_algorithms/lexicographical_compare.cc: New.
From-SVN: r127073
2007-07-30 21:14:52 +00:00
John David Anglin
bea780bbad
Fix typo in log.
...
From-SVN: r127022
2007-07-28 19:11:03 +00:00
Paolo Carlini
bd12160ab8
re PR libstdc++/32907 (Inefficient operator== in std::string)
...
2007-07-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/32907
* include/bits/basic_string.h (operator==(const basic_string<_CharT>&,
const basic_string<_CharT>&)): Add.
(operator!=): Forward to operator==.
* include/ext/vstring.h(operator==(const __versa_string<_CharT,
std::char_traits<_CharT>, std::allocator<_CharT>, _Base>&,
const __versa_string<_CharT, std::char_traits<_CharT>,
std::allocator<_CharT>, _Base>&)): Add.
(operator!=): Forward to operator==.
* include/ext/sso_string_base.h (_M_compare): Remove.
From-SVN: r126988
2007-07-27 17:25:04 +00:00
Stephen M. Webb
69240fc232
Fixed abi_check for missing symbol size changes.
...
2007-07-25 Stephen M. Webb <stephenw@xandros.com>
Fixed abi_check for missing symbol size changes.
* testsuite/util/testsuite_abi.cc: Changed local variable name to prevent
member variable hiding.
From-SVN: r126956
2007-07-26 12:45:06 +00:00
John David Anglin
18efbe5176
re PR libstdc++/31836 (FAIL: 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test)
...
PR libstdc++/31836
* config/locale/generic/c_locale.cc (__convert_to_v): Don't use
strtold if _GLIBCXX_HAVE_BROKEN_STRTOLD is defined.
* config/os/hpux/os_defines.h (_GLIBCXX_HAVE_BROKEN_STRTOLD): Define
if __hppa__ is defined.
From-SVN: r126914
2007-07-25 15:32:33 +00:00
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
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
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
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
Benjamin Kosnik
95440e3ee0
cmath: Guard special math with __GXX_EXPERIMENTAL_CXX0X__.
...
2007-05-17 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/cmath: Guard special math with
__GXX_EXPERIMENTAL_CXX0X__.
* testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc:
Remove xfail.
From-SVN: r124791
2007-05-17 11:37:27 +00:00
Paolo Carlini
a576fe880e
locale_facets.tcc (__pad<>::_S_pad): Minor tweaks, avoid unnecessary casts, do widenings just in time.
...
2007-05-17 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (__pad<>::_S_pad): Minor tweaks, avoid
unnecessary casts, do widenings just in time.
From-SVN: r124790
2007-05-17 09:01:27 +00:00
Benjamin Kosnik
f99a36b8a0
[multiple changes]
...
2007-05-16 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function
to the test code compiled with -ffunction-sections -fdata-sections.
* configure: Regenerate.
* testsuite/22_locale/ctype/scan/wchar_t/1.cc: Remove
_GLIBCXX_USE_WCHAR_T guards as superfluous.
* testsuite/20_util/make_signed/requirements/typedefs-1.cc: Add
_GLIBCXX_USE_WCHAR_T guards.
* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same.
* testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc:
Add.
* testsuite/21_strings/char_traits/typedefs/char/1.cc: Move...
* testsuite/21_strings/char_traits/requirements/char/typedefs.cc:
...here.
* testsuite/21_strings/char_traits/typedefs: Remove.
* testsuite/21_strings/char_traits/typedefs/char: Remove.
2007-05-16 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html: Update for gcc-4.1.2 and gcc-4.2.0.
From-SVN: r124774
2007-05-16 17:00:58 +00:00
Benjamin Kosnik
3322ee1183
acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test code compiled with -ffunction-sections -fdata-sections.
...
2007-05-11 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function
to the test code compiled with -ffunction-sections -fdata-sections.
* configure: Regenerate.
* testsuite/22_locale/ctype/scan/wchar_t/1.cc: Remove
_GLIBCXX_USE_WCHAR_T guards as superfluous.
* testsuite/20_util/make_signed/requirements/typedefs-1.cc: Add
_GLIBCXX_USE_WCHAR_T guards.
* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same.
* testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc:
Add.
* testsuite/21_strings/char_traits/typedefs/char/1.cc: Move...
* testsuite/21_strings/char_traits/requirements/char/typedefs.cc:
...here.
* testsuite/21_strings/char_traits/typedefs: Remove.
* testsuite/21_strings/char_traits/typedefs/char: Remove.
From-SVN: r124773
2007-05-16 16:54:48 +00:00
Benjamin Kosnik
2c4b148c84
acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test code compiled with -ffunction-sections -fdata-sections.
...
2007-05-11 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function
to the test code compiled with -ffunction-sections -fdata-sections.
* configure: Regenerate.
* testsuite/22_locale/ctype/scan/wchar_t/1.cc: Remove
_GLIBCXX_USE_WCHAR_T guards as surpufulous.
* testsuite/20_util/make_signed/requirements/typedefs-1.cc: Add
_GLIBCXX_USE_WCHAR_T guards.
* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same.
* testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc:
Add.
* testsuite/21_strings/char_traits/typedefs/char/1.cc: Move...
* testsuite/21_strings/char_traits/requirements/char/typedefs.cc:
...here.
* testsuite/21_strings/char_traits/typedefs: Remove.
* testsuite/21_strings/char_traits/typedefs/char: Remove.
From-SVN: r124772
2007-05-16 16:47:47 +00:00
Benjamin Kosnik
0d8c60585e
abi.html: Update for gcc-4.1.2 and gcc-4.2.0.
...
2007-05-11 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html: Update for gcc-4.1.2 and gcc-4.2.0.
From-SVN: r124766
2007-05-16 09:35:42 +00:00
Kaz Kojima
c7dbecf333
17_hyperg/check_nan.cc: Add -mieee for sh.
...
* testsuite/tr1/5_numerical_facilities/special_functions/
17_hyperg/check_nan.cc: Add -mieee for sh.
From-SVN: r124733
2007-05-15 00:03:18 +00:00
Paolo Carlini
2fdff2be24
testsuite_io.h: Only include <ios>.
...
2007-05-14 Paolo Carlini <pcarlini@suse.de>
* testsuite/util/testsuite_io.h: Only include <ios>.
From-SVN: r124717
2007-05-14 16:44:31 +00:00
Paolo Carlini
56f78eecdc
allocator.h: Do not include cpp_type_traits.h.
...
2007-05-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/allocator.h: Do not include cpp_type_traits.h.
From-SVN: r124716
2007-05-14 14:47:39 +00:00
Paolo Carlini
1398d72289
postypes.h (class fpos<>): Remove redundant forward declaration.
...
2007-05-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/postypes.h (class fpos<>): Remove redundant forward
declaration.
From-SVN: r124710
2007-05-14 10:52:34 +00:00
Paolo Carlini
de5e4138e5
stl_tempbuf.h (return_temporary_buffer(_Tp*)): Inline.
...
2007-05-13 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_tempbuf.h (return_temporary_buffer(_Tp*)): Inline.
From-SVN: r124654
2007-05-13 16:23:20 +00:00
Paolo Carlini
c1cd4e0958
type_traitsfwd.h: Fix include guard typo.
...
2007-05-13 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traitsfwd.h: Fix include guard typo.
From-SVN: r124652
2007-05-13 10:08:13 +00:00
Paolo Carlini
538075fe42
pod_char_traits.h (char_traits<>::move): Use __builtin_memmove.
...
2007-05-11 Paolo Carlini <pcarlini@suse.de>
* include/ext/pod_char_traits.h (char_traits<>::move):
Use __builtin_memmove.
* include/bits/locale_classes.h (locale::_Impl::_M_check_same_name,
collate_byname(const char*, size_t)): Use __builtin_strcmp.
* include/bits/locale_facets.h: Use __builtin_mem* and
__builtin_str* everywhere.
* include/bits/codecvt.h (codecvt_byname(const char*, size_t)):
Use __builtin_strcmp.
* include/bits/char_traits.h: Use __builtin_mem* everywhere.
* include/bits/fstream.tcc (basic_filebuf<>::underflow, imbue):
Use __builtin_memcpy and __builtin_memmove.
* include/bits/locale_facets_nonio.h (moneypunct_byname(const char*,
size_t __refs)): Use __builtin_strcmp.
* include/std/bitset (bitset<>::_M_do_reset): Use __builtin_memset.
* config/locale/gnu/c_locale.h: Use __builtin_strlen, __builtin_strcmp,
and __builtin_memcpy.
* config/locale/gnu/messages_members.h: Likewise.
* config/locale/gnu/time_members.h: Likewise.
* config/locale/generic/c_locale.h: Likewise.
* config/locale/generic/messages_members.h: Likewise.
* config/locale/generic/time_members.h: Likewise.
* config/os/gnu-linux/ctype_noninline.h: Likewise, avoid strdup.
* config/os/tpf/ctype_noninline.h: Likewise.
* config/locale/generic/codecvt_members.cc: Include <cstring>.
* config/locale/generic/ctype_members.cc: Likewise.
* config/locale/generic/collate_members.cc: Likewise.
* config/locale/gnu/c++locale_internal.h: Likewise.
* config/locale/darwin/ctype_members.cc: Likewise.
* src/ctype.cc: Likewise.
* testsuite/19_diagnostics/logic_error/what-1.cc: Likewise.
* testsuite/19_diagnostics/logic_error/what-2.cc: Likewise.
* testsuite/19_diagnostics/runtime_error/what-1.cc: Likewise.
* testsuite/19_diagnostics/runtime_error/what-2.cc: Likewise.
* testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise.
* config/locale/gnu/messages_members.cc: Avoid strdup.
* config/locale/gnu/monetary_members.cc: Likewise.
* config/locale/gnu/time_members.cc: Likewise.
* config/locale/gnu/time_members.cc: Likewise.
* config/locale/generic/c_locale.cc: Likewise.
From-SVN: r124623
2007-05-11 18:58:08 +00:00
Benjamin Kosnik
8339896e55
stdexcept: Remove extra spacing.
...
2007-05-11 Benjamin Kosnik <bkoz@redhat.com>
* include/std/stdexcept: Remove extra spacing.
* testsuite/19_diagnostics/stdexceptions.cc: Break into...
* testsuite/19_diagnostics/bad_exception: ...this. Populate.
* testsuite/19_diagnostics/logic_error: ... this.
* testsuite/19_diagnostics/logic_error/what-1.cc: ...this.
* testsuite/19_diagnostics/logic_error/what-2.cc: ...this.
* testsuite/19_diagnostics/runtime_error: ...this.
* testsuite/19_diagnostics/runtime_error/what-1.cc: ...this.
* testsuite/19_diagnostics/runtime_error/what-2.cc: ...this.
* testsuite/19_diagnostics/runtime_error/what-3.cc: ...this.
* testsuite/19_diagnostics/23591_thread-1.c: Move...
* testsuite/19_diagnostics/bad_exception/23591_thread-1.c: ...here.
From-SVN: r124621
2007-05-11 16:05:57 +00:00
Paolo Carlini
1b716e906b
11.cc: Include <cstring>.
...
2007-05-10 Paolo Carlini <pcarlini@suse.de>
* 27_io/objects/wchar_t/11.cc: Include <cstring>.
* 27_io/objects/wchar_t/10.cc: Likewise.
* 27_io/objects/wchar_t/12.cc: Likewise.
* 27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise.
* 27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
* 27_io/basic_streambuf/overflow/char/1.cc: Likewise.
* 27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
* 27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
* 27_io/basic_streambuf/sputn/char/1.cc: Likewise.
* 27_io/basic_ios/cons/char/3.cc: Likewise.
* 27_io/basic_stringbuf/setbuf/char/2.cc: Likewise.
* 27_io/basic_stringbuf/setbuf/char/3.cc: Likewise.
* 27_io/basic_stringbuf/setbuf/char/4.cc: Likewise.
* 27_io/basic_istream/extractors_character/char/4.cc: Likewise.
* 27_io/fpos/mbstate_t/1.cc: Likewise.
* 27_io/basic_filebuf/setbuf/char/2.cc: Likewise.
* 27_io/basic_filebuf/setbuf/char/3.cc: Likewise.
* 25_algorithms/copy/streambuf_iterators/char/2.cc: Likewise.
* 25_algorithms/copy/streambuf_iterators/char/4.cc: Likewise.
* 19_diagnostics/stdexceptions.cc: Likewise.
* 21_strings/char_traits/requirements/short/1.cc: Likewise.
* 21_strings/basic_string/compare/char/1.cc: Likewise.
* 21_strings/basic_string/capacity/1.cc: Likewise.
* ext/codecvt/char-1.cc: Likewise.
* ext/codecvt/char-2.cc: Likewise.
* ext/codecvt/1.cc: Likewise.
* ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
* ext/stdio_sync_filebuf/char/1.cc: Likewise.
* ext/stdio_filebuf/char/2.cc: Likewise.
* ext/stdio_filebuf/char/10063-1.cc: Likewise.
* 22_locale/ctype/narrow/char/19955.cc: Likewise.
* 22_locale/codecvt/unshift/wchar_t/1.cc: Likewise.
* 22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
* 22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
* 22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
* 22_locale/codecvt/unshift/char/1.cc: Likewise.
* 22_locale/codecvt/length/wchar_t/1.cc: Likewise.
* 22_locale/codecvt/length/wchar_t/2.cc: Likewise.
* 22_locale/codecvt/length/wchar_t/3.cc: Likewise.
* 22_locale/codecvt/length/wchar_t/4.cc: Likewise.
* 22_locale/codecvt/length/wchar_t/5.cc: Likewise.
* 22_locale/codecvt/length/wchar_t/6.cc: Likewise.
* 22_locale/codecvt/length/wchar_t/7.cc: Likewise.
* 22_locale/codecvt/always_noconv/char/1.cc: Likewise.
* 22_locale/codecvt/encoding/char/1.cc: Likewise.
* 22_locale/codecvt/in/wchar_t/1.cc: Likewise.
* 22_locale/codecvt/in/wchar_t/2.cc: Likewise.
* 22_locale/codecvt/in/wchar_t/3.cc: Likewise.
* 22_locale/codecvt/in/wchar_t/4.cc: Likewise.
* 22_locale/codecvt/in/wchar_t/5.cc: Likewise.
* 22_locale/codecvt/in/wchar_t/6.cc: Likewise.
* 22_locale/codecvt/in/wchar_t/7.cc: Likewise.
* 22_locale/codecvt/in/wchar_t/8.cc: Likewise.
* 22_locale/codecvt/in/wchar_t/9.cc: Likewise.
* 22_locale/codecvt/in/char/1.cc: Likewise.
* 22_locale/codecvt/max_length/char/1.cc: Likewise.
* 22_locale/codecvt/out/wchar_t/1.cc: Likewise.
* 22_locale/codecvt/out/wchar_t/2.cc: Likewise.
* 22_locale/codecvt/out/wchar_t/3.cc: Likewise.
* 22_locale/codecvt/out/wchar_t/4.cc: Likewise.
* 22_locale/codecvt/out/wchar_t/5.cc: Likewise.
* 22_locale/codecvt/out/wchar_t/6.cc: Likewise.
* 22_locale/codecvt/out/wchar_t/7.cc: Likewise.
* 22_locale/codecvt/out/char/1.cc: Likewise.
* 22_locale/locale/cons/5.cc: Likewise.
* 22_locale/collate_byname/named_equivalence.cc: Likewise.
From-SVN: r124610
2007-05-11 00:55:17 +00:00
Mark Mitchell
9e081bace4
Remove conflict marker
...
From-SVN: r124566
2007-05-09 05:31:15 +00:00
Mark Mitchell
357480cec5
cxxabi.h (_GLIBCXX_NOTHROW): New macro.
...
* libstdc++-v3/libsupc++/cxxabi.h (_GLIBCXX_NOTHROW): New macro.
(__cxa_atexit): Use it.
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): For
installed-tree testing, search more include directories.
From-SVN: r124565
2007-05-09 05:21:36 +00:00
Benjamin Kosnik
fb8ffd109a
type_traits (make_signed): Remove specializations for floating point types.
...
2007-05-08 Benjamin Kosnik <bkoz@redhat.com>
* include/std/type_traits (make_signed): Remove specializations
for floating point types.
(make_unsigned): Same.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Fix.
* testsuite/20_util/make_signed/requirements/typedefs-1.cc: Same.
* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same.
From-SVN: r124543
2007-05-08 12:10:48 +00:00
Benjamin Kosnik
a6d99bb44a
types_std_c++0x_neg.cc: New.
...
2007-05-08 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: New.
From-SVN: r124540
2007-05-08 10:44:37 +00:00
Jason Merrill
fba10f59ff
cxxabi-internal.h: Remove, to be replaced by...
...
* libsupc++/cxxabi-internal.h: Remove, to be replaced by...
* libsupc++/cxxabi-forced.h: ...this new file.
* include/ext/vstring.tcc: Include cxxabi-forced.h instead.
* include/bits/istream.tcc: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/basic_string.tcc: Likewise.
* include/bits/ostream_insert.h: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/std/bitset: Likewise.
* libsupc++/cxxabi.h: Restore previous contents.
* Makefile.am (headers): Add cxxabi-forced.h.
* Makefile.in: Regenerate.
From-SVN: r124539
2007-05-08 02:50:32 -04:00
Benjamin Kosnik
9b4fc32c63
testsuite_abi.cc: Add CXXABI_1.3.2.
...
2007-05-08 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/util/testsuite_abi.cc: Add CXXABI_1.3.2.
* libsupc++/cxxabi-internal.h (__foreign_exception::__pure): To
__pure_virtual.
From-SVN: r124537
2007-05-08 06:04:52 +00:00
Jason Merrill
04055200ed
* include/bits/ostream.tcc (operator<<(char*)): Add __s.
...
From-SVN: r124522
2007-05-07 18:44:54 -04:00
Jason Merrill
38a0729704
gnu.ver: Fix symbol versions.
...
* config/abi/pre/gnu.ver: Fix symbol versions.
* config/abi/pre/gnu-versioned-namespace.ver: Likewise.
From-SVN: r124520
2007-05-07 17:49:50 -04:00
Danny Smith
21fe02822b
* config/os/mingw32/os_defines.h (NOMINMAX): Update comment.
...
From-SVN: r124519
2007-05-07 21:38:16 +00:00
Jason Merrill
d05f74f16e
re PR other/28145 (C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL))
...
PR c++/28145
* libsupc++/cxxabi.h (__forced_unwind, __foreign_exception):
New classes.
* libsupc++/eh_exception.cc: Define their destructors.
* config/abi/pre/gnu.ver: Export their type_infos.
* config/abi/pre/gnu-versioned-namespace.ver: Likewise.
* libsupc++/eh_personality.cc: A handler for abi::__forced_unwind
matches a forced unwind, and a handler for abi::__foreign_exception
matches a foreign exception.
* include/bits/istream.tcc: Rethrow forced unwind.
* include/bits/ostream.tcc: Likewise.
* include/bits/ostream_insert.h: Likewise.
* include/bits/basic_string.tcc (operator>>, getline): Likewise.
* include/bits/fstream.tcc (basic_filebuf::close): Likewise.
* include/ext/vstring.cc (operator>>, getline): Likewise.
* src/istream.cc: Likewise.
* src/compatibility.cc (basic_istream::ignore): Likewise.
* include/std/bitset (operator>>): Likewise.
* include/std/fstream (basic_filebuf::close): Remove throw() spec.
* libsupc++/cxxabi-internal.h: Split out from...
* libsupc++/cxxabi.h: ...here.
From-SVN: r124517
2007-05-07 17:27:54 -04:00
Paolo Carlini
f3cdfb88d7
2007-05-07 Paolo Carlini <pcarlini@suse.de>
...
* Remove spurious space in last ChangeLog entry.
From-SVN: r124513
2007-05-07 20:38:14 +00:00
Paolo Carlini
360721e336
stl_algobase.h: Do not include <cstring>.
...
2007-05-07 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h: Do not include <cstring>.
(copy(const _Tp*, const _Tp*, _Tp*), __copy_b(const _Tp*, const _Tp*,
_Tp*)): Use __builtin_memmove.
(__fill_aux): Use __builtin_memset.
(equal(const _Tp*, const _Tp*, const _Tp*),
lexicographical_compare(const unsigned char*, const unsigned char*,
const unsigned char*, const unsigned char*)): Use __builtin_memcmp.
* include/bits/valarray_array.h: Do not include <cstring>.
(_Array_default_ctor<, true>::_S_do_it): Use __builtin_memset.
(_Array_copy_ctor<, true>::_S_do_it, _Array_copier<, true>::_S_do_it):
Use __builtin_memcpy.
* include/ext/algorithm
(__lexicographical_compare_3way(const unsigned char*,
const unsigned char*, const unsigned char*, const unsigned char*)):
Use __builtin_memcmp.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Likewise.
From-SVN: r124511
2007-05-07 20:36:40 +00:00
Mark Mitchell
adcbdf5c45
14220.cc: XFAIL on Solaris 2.10.
...
* testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
2.10.
* testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
From-SVN: r124508
2007-05-07 18:39:18 +00:00
Mark Mitchell
7504beb420
libstdc++.exp (v3_target_compile_as_c): In installed-tree testing, use "remote_exec host", not "remote_exec exec".
...
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): In
installed-tree testing, use "remote_exec host", not "remote_exec
exec". Trip trailing newlines from output of -dumpversion and
-dumpmachine.
From-SVN: r124505
2007-05-07 18:03:47 +00:00
Benjamin Kosnik
ce2e63495d
type_traits: (make_signed, make_unsigned): Adjust for enum sizes.
...
2007-05-07 Benjamin Kosnik <bkoz@redhat.com>
Howard Hinnant <hhinnant@apple.com>
* include/std/type_traits: (make_signed, make_unsigned): Adjust
for enum sizes.
* testsuite/20_util/make_unsigned/requirements/typedefs.cc: Move to...
* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: ...here.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Add,
compile with -funsigned-char -fshort-enums.
* testsuite/20_util/make_signed/requirements/typedefs.cc: Move to...
* testsuite/20_util/make_signed/requirements/typedefs-1.cc: ...here.
* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Add,
compile with -funsigned-char -fshort-enums.
* testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc:
Add a temporary xfail to this test for all platforms.
Co-Authored-By: Howard Hinnant <hhinnant@apple.com>
From-SVN: r124500
2007-05-07 15:29:57 +00:00
Paolo Carlini
74b332b8a0
complex: Add missing extern template declarations.
...
2007-05-06 Paolo Carlini <pcarlini@suse.de>
* include/std/complex: Add missing extern template declarations.
* testsuite/26_numerics/complex/complex_inserters_extractors.cc:
Move...
* testsuite/26_numerics/complex/inserters_extractors/char/1.cc:
... here.
* testsuite/26_numerics/complex/inserters_extractors/wchar_t/1.cc:
New.
From-SVN: r124477
2007-05-06 18:51:10 +00:00
Paolo Carlini
e7a5fbdc2b
2007-05-06 Paolo Carlini <pcarlini@suse.de>
...
* Fix PR number in last ChangeLog entry.
From-SVN: r124473
2007-05-06 11:54:39 +00:00
Paolo Carlini
025375348e
re PR libstdc++/31836 (FAIL: 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test)
...
2007-05-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/31836
* testsuite/17_intro/headers/c++200x/all.cc: Protect inclusion
of C99 headers.
* testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
Likewise.
From-SVN: r124472
2007-05-06 11:51:23 +00:00
Paolo Carlini
19df3b836e
c_locale.cc: Don't use __builtin_huge_val* when __*_HAS_INFINITY__ is false.
...
2007-05-06 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/c_locale.cc: Don't use __builtin_huge_val*
when __*_HAS_INFINITY__ is false.
From-SVN: r124470
2007-05-06 09:51:26 +00:00
Paolo Carlini
558ef0f771
stl_raw_storage_iter.h (class raw_storage_iterator): Adjust template parameter name.
...
2007-05-04 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_raw_storage_iter.h (class raw_storage_iterator):
Adjust template parameter name.
From-SVN: r124459
2007-05-05 01:15:46 +00:00
Mark Mitchell
88e6c94714
cxxabi.h (__cxa_atexit): Conditionalize exception specification on #ifdef __cplusplus.
...
* libsupc++/cxxabi.h (__cxa_atexit): Conditionalize exception
specification on #ifdef __cplusplus.
From-SVN: r124456
2007-05-05 00:39:45 +00:00
Paolo Carlini
acb8a4ef2d
stl_memory.h: Rename to stl_auto_ptr.h.
...
2007-05-04 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_memory.h: Rename to stl_auto_ptr.h.
(__get_temporary_buffer, get_temporary_buffer,
return_temporary_buffer): Move...
* include/bits/stl_tempbuf.h: ... here.
* include/std/memory: Adjust includes.
* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error line
numbers.
* include/Makefile.am: Adjust.
* include/Makefile.in: Regenerate.
* testsuite/util/testsuite_iterators.h: Do not include the entire
<iterator>.
* include/bits/stl_iterator_base_types.h: Adjust includes.
* testsuite/25_algorithms/unique_copy/2.cc: Include <functional>.
From-SVN: r124438
2007-05-04 18:07:10 +00:00
Mark Mitchell
aa2bd2db03
atexit_arm.cc: New file.
...
* libsupc++/atexit_arm.cc: New file.
* libsupc++/vec.cc (__aeabi_atexit): Remove.
* libsupc++/cxxabi.h (__cxa_atexit): Add exception specification.
* libsupc++/Makefile.am: Add atexit_arm.cc.
* libsupc++/Makefile.in: Regenerated.
From-SVN: r124436
2007-05-04 17:42:49 +00:00
Paolo Carlini
c531371e87
stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator __last, _Allocator)): Change the last parameter to _Allocator&.
...
2007-05-04 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_construct.h (_Destroy(_ForwardIterator,
_ForwardIterator __last, _Allocator)): Change the last parameter
to _Allocator&.
* include/bits/stl_uninitialized.h (__uninitialized_copy_a,
__uninitialized_fill_a, __uninitialized_fill_n_a,
__uninitialized_fill_copy, __uninitialized_copy_fill,
__uninitialized_copy_copy): Likewise.
* include/ext/rope: Adjust everywhere.
* include/ext/ropeimpl.h: Likewise.
From-SVN: r124427
2007-05-04 15:06:46 +00:00
Benjamin Kosnik
7b50cdeffb
type_traits (enable_if): New.
...
2007-05-03 Benjamin Kosnik <bkoz@redhat.com>
* include/std/type_traits (enable_if): New.
(conditional): New.
(__decay_selector, decay): New.
(__cv_selector, __match_cv_qualifiers): New.
(__make_unsigned, __make_unsigned_selector, make_unsigned): New.
(__make_signed, __make_signed_selector, make_signed): New.
(has_trivial_constructor): ... to has_trivial_default_constructor.
(has_nothrow_constructor): ... to has_nothrow_default_constructor.
(has_trivial_copy): ... to has_trivial_copy_constructor.
(has_nothrow_copy): ... to has_nothrow_copy_constructor.
* include/tr1/type_traits_fwd: Move to...
* include/tr1/type_traitsfwd: ... this, consistency with
ios/string/locale forward headers.
* include/tr1/type_traits: Adjust include.
* include/Makefile.am (tr1_headers): Change type_traits_fwd.h to
type_traitsfwd.h.
* include/Makefile.in: Regenerate.
* testsuite/23_containers/tuple: Move...
* testsuite/20_util/tuple:... here.
* testsuite/20_util/conditional: New.
* testsuite/20_util/conditional/requirements: Same.
* testsuite/20_util/conditional/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/conditional/requirements/typedefs.cc: Same.
* testsuite/20_util/decay: Same.
* testsuite/20_util/decay/requirements: Same.
* testsuite/20_util/decay/requirements/explicit_instantiation.cc: Same.
* testsuite/20_util/decay/requirements/typedefs.cc: Same.
* testsuite/20_util/enable_if: Same.
* testsuite/20_util/enable_if/requirements: Same.
* testsuite/20_util/enable_if/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/enable_if/requirements/typedefs.cc: Same.
* testsuite/20_util/enable_if/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/has_nothrow_copy_constructor: Same.
* testsuite/20_util/has_nothrow_copy_constructor/requirements: Same.
* testsuite/20_util/has_nothrow_copy_constructor/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/has_nothrow_copy_constructor/requirements/
typedefs.cc: Same.
* testsuite/20_util/has_nothrow_copy_constructor/value.cc: Same.
* testsuite/20_util/has_nothrow_default_constructor: Same.
* testsuite/20_util/has_nothrow_default_constructor/requirements: Same.
* testsuite/20_util/has_nothrow_default_constructor/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/has_nothrow_default_constructor/requirements/
typedefs.cc: Same.
* testsuite/20_util/has_nothrow_default_constructor/value.cc: Same.
* testsuite/20_util/has_trivial_copy_constructor: Same.
* testsuite/20_util/has_trivial_copy_constructor/requirements: Same.
* testsuite/20_util/has_trivial_copy_constructor/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/has_trivial_copy_constructor/requirements/
typedefs.cc: Same.
* testsuite/20_util/has_trivial_copy_constructor/value.cc: Same.
* testsuite/20_util/has_trivial_default_constructor: Same.
* testsuite/20_util/has_trivial_default_constructor/requirements: Same.
* testsuite/20_util/has_trivial_default_constructor/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/has_trivial_default_constructor/requirements/
typedefs.cc: Same.
* testsuite/20_util/has_trivial_default_constructor/value.cc: Same.
* testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc: Same.
* testsuite/20_util/make_signed: Same.
* testsuite/20_util/make_signed/requirements: Same.
* testsuite/20_util/make_signed/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/make_signed/requirements/typedefs.cc: Same.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/make_unsigned: Same.
* testsuite/20_util/make_unsigned/requirements: Same.
* testsuite/20_util/make_unsigned/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
From-SVN: r124374
2007-05-03 11:49:12 +00:00
Paolo Carlini
d4083c80e2
re PR libstdc++/31777 (GLIBCXX_FORCE_NEW doesn't always work in pool_allocator)
...
2007-05-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/31777
* include/ext/pool_allocator.h (__pool_alloc<>::allocate,
__pool_alloc<>::deallocate): Fix _S_force_new check.
From-SVN: r124355
2007-05-02 18:37:00 +00:00
Benjamin Kosnik
d0700ca3a4
*: Move to...
...
2007-05-01 Benjamin Kosnik <bkoz@redhat.com>
* 23_containers/requirements/sequences/dr438/deque/*: Move to...
* 23_containers/deque/requirements/dr438: ...here.
* 23_containers/requirements/sequences/dr438/list/*: Move to...
* 23_containers/list/requirements/dr438: ...here.
* 23_containers/requirements/sequences/dr438/vector/*: Move to...
* 23_containers/vector/requirements/dr438: ...here.
From-SVN: r124319
2007-05-01 09:04:35 +00:00
Benjamin Kosnik
93f79c2a4a
explicit_instantiations.cc: Change to...
...
2007-05-01 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/*/explicit_instantiations.cc: Change to...
* testsuite/*/explicit_instantiation.cc: ... this.
From-SVN: r124318
2007-05-01 08:50:44 +00:00
Benjamin Kosnik
953415a2b7
explicit_instantiations.cc: Change "basic_ofstream" in comment to type_traits.
...
2007-05-01 Benjamin Kosnik <bkoz@redhat.com>
* tr1/4_metaprogramming/*/explicit_instantiations.cc: Change
"basic_ofstream" in comment to type_traits.
From-SVN: r124317
2007-05-01 08:37:16 +00:00
Benjamin Kosnik
39dd88f08d
2007-04-30 Benjamin Kosnik <bkoz@redhat.com>
...
Directory layout flattening.
From-SVN: r124307
2007-04-30 22:41:00 +00:00
Hans-Peter Nilsson
8f1a19e2c5
libstdc++.exp (v3_target_compile_as_c): Correct regexp to filter out -nostdinc++.
...
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Correct
regexp to filter out -nostdinc++.
From-SVN: r124298
2007-04-30 16:12:48 +00:00
Paolo Carlini
d22a31664d
PR libstdc++/30449 (equal)
...
2007-04-30 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/30449 (equal)
* include/bits/stl_algobase.h (struct __niter_base): Add.
(copy(_II, _II, _OI), copy_backward(_BI1, _BI1, _BI2),
fill(_ForwardIterator, _ForwardIterator, const _Tp&),
fill_n(_OI, _Size, const _Tp&), equal(_II1, _II1, _II2)):
Use it.
(struct __copy_normal, __copy_backward_normal,
struct __fill_normal, struct __fill_n_normal): Remove.
(struct __equal, struct __equal_aux): Add.
* include/bits/stl_iterator.h: Add _Iterator_type typedef.
* include/bits/stl_algobase.h (__fill_aux(wchar_t*,
wchar_t*, wchar_t), __fill_n_aux(wchar_t*, _Size, wchar_t)):
Remove.
* testsuite/23_containers/requirements/sequences/dr438/vector/
constructor_1_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/requirements/sequences/dr438/vector/
constructor_2_neg.cc: Likewise.
From-SVN: r124295
2007-04-30 13:10:54 +00:00
Paolo Carlini
6a7508ec12
type_traits (is_pod): Use __is_pod.
...
2007-04-30 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (is_pod): Use __is_pod.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_destructor/has_trivial_destructor.cc: Adjust.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_constructor/has_nothrow_constructor.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_constructor/has_trivial_constructor.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_pod/is_pod.cc: Likewise.
From-SVN: r124294
2007-04-30 10:27:31 +00:00
Paolo Carlini
677e29e167
localefwd.h: Remove redundant inline qualifiers.
...
2007-04-29 Paolo Carlini <pcarlini@suse.de>
* include/bits/localefwd.h: Remove redundant inline qualifiers.
(__check_facet): Move...
* include/bits/basic_ios.h: ... here.
(widen(char), narrow(char_type, char)): Define inline.
* include/bits/basic_ios.tcc (widen(char), narrow(char_type, char)):
Remove.
From-SVN: r124282
2007-04-29 16:06:09 +00:00
Paolo Carlini
25959e29ee
DR 438, [DR].
...
2007-04-27 Paolo Carlini <pcarlini@suse.de>
DR 438, [DR].
* include/bits/basic_string.h (_S_construct_aux(_InIterator,
_InIterator, const _Alloc&, __true_type)): Do not cast the
second argument.
* include/ext/rc_string_base.h (_S_construct_aux(_Integer,
_Integer, const _Alloc&, std::__true_type)): Likewise.
* include/ext/sso_string_base.h (_M_construct_aux(_InIterator,
_InIterator, std::__true_type)): Likewise.
* include/bits/stl_deque.h (_M_initialize_dispatch(_Integer,
_Integer, __true_type)): Cast the first argument.
(_M_assign_dispatch(_Integer, _Integer, __true_type)): Do
not cast the arguments.
(_M_insert_dispatch(iterator, _Integer, _Integer, __true_type)):
Likewise.
* include/bits/stl_list.h (_M_initialize_dispatch(_Integer,
_Integer, __true_type)): Likewise.
(_M_assign_dispatch(_Integer, _Integer, __true_type)): Do
not cast both arguments.
* include/bits/stl_bvector.h (_M_initialize_dispatch(_Integer,
_Integer, __true_type)): Cast the first argument.
(_M_assign_dispatch(_Integer, _Integer, __true_type)): Do not
cast the arguments.
* include/bits/stl_vector.h (_M_initialize_dispatch(_Integer,
_Integer, __true_type)): Cast the first argument.
(_M_assign_dispatch(_Integer, _Integer, __true_type)): Do not
cast the arguments.
(_M_insert_dispatch(iterator, _Integer, _Integer, __true_type)):
Likewise.
* testsuite/21_strings/basic_string/requirements/dr438/
constructor.cc: New.
* testsuite/ext/vstring/requirements/dr438/constructor.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/deque/
assign_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/deque/
constructor.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/deque/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/deque/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/deque/
insert_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/list/
assign_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/list/
constructor.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/list/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/list/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/list/
insert_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/vector/
assign_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/vector/
constructor.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/vector/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/vector/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/vector/
insert_neg.cc: Likewise.
* testsuite/23_containers/requirements/sequences/dr438/vector/
bool/constructor.cc: Likewise.
* docs/html/ext/howto.html: Add an entry for DR 438.
From-SVN: r124243
2007-04-27 22:59:36 +00:00
Paolo Carlini
dd42abcc7e
locale_classes.h: Remove redundant inline specifiers.
...
2007-04-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_classes.h: Remove redundant inline specifiers.
* include/bits/ios_base.h: Likewise.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error line
numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
From-SVN: r124148
2007-04-25 09:25:05 +00:00
Paolo Carlini
84b31797f3
locale_facets.h (class collate, [...]): Move...
...
2007-04-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (class collate, class collate_byname):
Move...
* include/bits/locale_classes.h: ... here.
* include/bits/locale_facets.tcc (locale::combine, locale::operator(),
has_facet, use_facet, collate::_M_compare, collate::_M_transform,
collate::do_compare, collate::do_transform, collate::do_hash): Move...
* include/bits/locale_classes.tcc: ... here, new.
* include/Makefile.am: Add.
* testsuite/util/testsuite_abi.h: Include <locale>.
* include/std/locale: Tweak.
* include/std/istream: Likewise.
* include/std/ostream: Likewise.
* include/bits/codecvt.h: Likewise.
* include/Makefile.in: Regenerate.
* include/bits/codecvt.h: Adjust extern template declarations.
* include/bits/ostream_insert.h: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/locale_facets.h: Do not include <bits/codecvt.h>.
* include/std/fstream: Do it here.
* include/bits/locale_facets_nonio.h: Likewise.
From-SVN: r124114
2007-04-24 18:57:12 +00:00
Paolo Carlini
f749a55bb4
locale_facets.h (class time_base, [...]): Move...
...
2007-04-23 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (class time_base,
struct __timepunct_cache, class __timepunct, class time_get,
class time_get_byname, class time_put, class time_put_byname,
class money_base, struct __moneypunct_cache, class moneypunct,
class moneypunct_byname, class money_get, class money_put,
struct messages_base, class messages, class messages_byname): Move...
* include/bits/locale_facets_nonio.h: ... here.
* include/bits/locale_facets.tcc
(struct __use_cache<__moneypunct_cache<> >,
__moneypunct_cache<>::_M_cache, money_get<>::_M_extract,
money_get<>::__do_get, money_get<>::do_get, money_put<>::_M_insert,
money_put<>::__do_put, money_put<>::do_put, time_get<>::do_date_order,
time_get<>::_M_extract_via_format, time_get<>::_M_extract_num,
time_get<>::_M_extract_name, time_get<>::do_get_time,
time_get<>::do_get_date, time_get<>::do_get_weekday,
time_get<>::do_get_monthname, time_get<>::do_get_year, time_put<>::put,
time_put<>::do_put): Move...
* include/bits/locale_facets_nonio.tcc: ... here.
* include/Makefile.am: Add.
* include/std/locale: Adjust includes.
* include/std/fstream: Likewise.
* include/std/istream: Likewise.
* include/std/ostream: Likewise.
* include/Makefile.in: Regenerate.
From-SVN: r124080
2007-04-23 20:26:30 +00:00
Nathan Sidwell
6c1e7e268e
testsuite_flags.in: Add --build-cc option.
...
* scripts/testsuite_flags.in: Add --build-cc option.
* testsuite/lib/libstdc++.exp (libstdc++_init): Set cc. Fix typo
in previous change.
(v3_target_compile_as_c): Use cc.
From-SVN: r124058
2007-04-23 07:38:33 +00:00
Mark Mitchell
6cd5b96f39
libstdc++.exp (libstdc++_init): Use the same flags for remote host testing we use for local host testing.
...
* testsuite/lib/libstdc++.exp (libstdc++_init): Use the same flags
for remote host testing we use for local host testing. Copy all
testsuite headers to the remote host
(v3_target_compile_as_c): Use remote_exec, not just exec.
From-SVN: r124051
2007-04-23 00:39:17 +00:00
Paolo Carlini
4c9be80604
functional: Formatting fixes.
...
2007-04-22 Paolo Carlini <pcarlini@suse.de>
* include/tr1/functional: Formatting fixes.
From-SVN: r124041
2007-04-22 11:12:18 +00:00
Paolo Carlini
87a2085661
concurrence.h: Do not include <cstdlib>, use __builtin_abort.
...
2007-04-22 Paolo Carlini <pcarlini@suse.de>
* include/ext/concurrence.h: Do not include <cstdlib>, use
__builtin_abort.
* include/debug/debug.h: Likewise.
* include/tr1/memory: Likewise.
* include/tr1/boost_shared_ptr.h: Likewise.
* include/tr1/functional: Likewise.
From-SVN: r124040
2007-04-22 10:36:04 +00:00
Paolo Carlini
3b476281b6
locale_facets.tcc: Do not include <typeinfo>.
...
2007-04-22 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc: Do not include <typeinfo>.
* testsuite/27_io/basic_ios/imbue/14072.cc: Do it here.
* testsuite/27_io/basic_ios/cons/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/
pod/10081-in.cc: Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/
pod/10081-out.cc: Likewise.
* testsuite/22_locale/locale/cons/2.cc: Likewise.
* testsuite/22_locale/locale/cons/unicode.cc: Likewise.
* testsuite/22_locale/numpunct/members/pod/2.cc: Likewise.
* testsuite/22_locale/global_templates/1.cc: Likewise.
From-SVN: r124039
2007-04-22 10:09:11 +00:00
Joseph Myers
f7cc5390ec
configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu* for long double compatibility.
...
gcc:
* configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu*
for long double compatibility.
* configure: Regenerate.
libstdc++-v3:
* configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu*
for long double compatibility.
* configure: Regenerate.
* src/complex_io.cc, src/istream-inst.cc, src/ostream-inst.cc:
Condition some _GLIBCXX_LDBL_COMPAT calls on _GLIBCXX_USE_WCHAR_T.
From-SVN: r123972
2007-04-19 13:11:07 +01:00
Steve Ellcey
94872c09c9
configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
...
* configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
* configure: Regenerate.
From-SVN: r123828
2007-04-14 19:51:44 +00:00