aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
AgeCommit message (Collapse)Author
2007-01-162007-01-15 Ian Lance Taylor <iant@google.com>paolo
Paolo Carlini <pcarlini@suse.de> * include/ext/type_traits.h: Fix __glibcxx_max macro. * include/std/limits: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120808 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-152007-01-15 Paolo Carlini <pcarlini@suse.de>paolo
* include/std/valarray (valarray<>::cshift): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120798 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-142007-01-14 Paolo Carlini <pcarlini@suse.de>paolo
* include/bits/stl_algobase.h (fill_n(char*, _Size, const signed char&)): Fix signature. * testsuite/25_algorithms/fill/3.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120778 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-13 * config/cpu/hppa/atomicity.h (__exchange_and_add): Don't use ordereddanglin
store. (__atomic_add): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120751 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-132007-01-13 Paolo Carlini <pcarlini@suse.de>paolo
PR libstdc++/14991 * docs/html/17_intro/porting-howto.html ([3]): Mention stdio_filebuf. * docs/html/17_intro/porting-howto.xml: Remove. * docs/html/17_intro/porting-howto.html: Remove spurious end tags pointed out by validator.w3.org. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120749 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-122007-01-12 Paolo Carlini <pcarlini@suse.de>paolo
PR libstdc++/30416 (continued) * include/std/valarray (valarray<>::shift, valarray<>::cshift): Allways return the same variable, thus facilitating NRVO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120722 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-122007-01-12 Paolo Carlini <pcarlini@suse.de>paolo
PR libstdc++/30416 * include/std/valarray (valarray<>::shift, valarray<>::cshift): Do not segfault when |n| > size. * testsuite/26_numerics/valarray/30416.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120720 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-062007-01-06 Paolo Carlini <pcarlini@suse.de>paolo
* Fix typo in ChangeLog. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120533 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-062007-01-06 Paolo Carlini <pcarlini@suse.de>paolo
PR libstdc++/30365 * crossconfig.m4 (case *-linux*): Run crossconfig.m4. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120531 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-062007-01-06 Matthias Klose <doko@debian.org>doko
* include/tr1/random (gamma_distribution): Fix typo in formula. * docs/doxygen/user.cfg.in: Use package amsmath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120522 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-05Revert revision 120457.bje
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120458 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-04 * src/strstream.cc (strstreambuf::seekoff): Add parentheses aroundbje
truth expression to eliminate a new warning from g++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120457 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-292006-12-29 Paolo Carlini <pcarlini@suse.de>paolo
PR libstdc++/30226 * config/abi/pre/gnu.ver: Do not export ctype<char>::widen. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120261 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-282006-12-28 Paolo Carlini <pcarlini@suse.de>paolo
* include/tr1/array (array<>::_M_at): Remove. (array<>::_M_check): Add. (array<>::at): Use the latter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120242 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-222006-12-22 Paolo Carlini <pcarlini@suse.de>paolo
DR 541, [WP]. * include/std/memory (auto_ptr<void>): Add specialization. * testsuite/tr1/2_general_utilities/memory/shared_ptr/ assign/dr541.cc: New. * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error markers. * docs/html/ext/howto.html: Add an entry for DR 541. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120148 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-162006-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>paolo
* docs/html/27_io/howto.html: Fix typos. * docs/html/24_iterators/howto.html: Likewise. * docs/html/18_support/howto.html: Likewise. * docs/html/21_strings/howto.html: Likewise. * docs/html/ext/howto.html: Likewise. * docs/html/ext/ballocator_doc.html: Likewise. * docs/html/17_intro/porting-howto.xml: Likewise. * docs/html/17_intro/howto.html: Likewise. * docs/html/22_locale/howto.html: Likewise. * docs/html/faq/index.html: Likewise. * docs/doxygen/tables.html: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119964 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-14 PR c++/19564ian
PR c++/19756 gcc/: * c-typeck.c (parser_build_binary_op): Move parentheses warnings to warn_about_parentheses in c-common.c. * c-common.c (warn_about_parentheses): New function. * c-common.h (warn_about_parentheses): Declare. * doc/invoke.texi (Warning Options): Update -Wparentheses description. gcc/cp/: * parser.c (cp_parser_expression_stack_entry): Add field lhs_type. (cp_parser_binary_expression): Track tree code of left hand side of expression. Use it when calling build_x_binary_op. (cp_parser_selection_statement): Add if_p parameter. Change all callers. Warn about ambiguous else. (cp_parser_statement): Add if_p parameter. Change all callers. (cp_parser_implicitly_scoped_statement): Likewise. * typeck.c (build_x_binary_op): Add parameters arg1_code and arg2_code. Change all callers. Call warn_about_parentheses. * cp-tree.h (build_x_binary_op): Update declaration. gcc/testsuite/: * g++.dg/warn/Wparentheses-5.C: New test. * g++.dg/warn/Wparentheses-6.C: New test. * g++.dg/warn/Wparentheses-7.C: New test. * g++.dg/warn/Wparentheses-8.C: New test. * g++.dg/warn/Wparentheses-9.C: New test. * g++.dg/warn/Wparentheses-10.C: New test. * g++.dg/warn/Wparentheses-11.C: New test. * g++.dg/warn/Wparentheses-12.C: New test. * g++.dg/warn/Wparentheses-13.C: New test. * g++.dg/warn/Wparentheses-14.C: New test. * g++.dg/warn/Wparentheses-15.C: New test. * g++.dg/warn/Wparentheses-16.C: New test. * g++.dg/warn/Wparentheses-17.C: New test. * g++.dg/warn/Wparentheses-18.C: New test. * g++.dg/warn/Wparentheses-19.C: New test. * g++.dg/warn/Wparentheses-20.C: New test. * g++.dg/warn/Wparentheses-21.C: New test. libstdc++-v3/: * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): Add parentheses around && within || to avoid warning. (num_get<>::_M_extract_int): Likewise. (money_get<>::_M_extract): Likewise. (num_get<>::do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, void*&)): Add parentheses around & within | to avoid warning. (num_put<>::do_put(iter_type, ios_base&, char_type, const void*)): Likewise. * include/bits/streambuf_iterator.h (istreambuf_iterator::equal): Add parentheses around && within || to avoid warning. * libsupc++/tinfo.cc (__do_dyncast): Likewise. * src/locale.cc (locale::_S_normalize_category): Likewise. * include/bits/stl_tree.h (_Rb_tree<>::_M_insert_unique): Add braces to avoid ambiguous else warning. * src/strstream.cc (strstreambuf::_M_free): Likewise. * src/tree.cc (_Rb_tree_rebalance_for_erase): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119855 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-122006-12-12 Benjamin Kosnik <bkoz@redhat.com>bkoz
PR libstdc++/28265 * crossconfig.m4: Remove GLIBCXX_CHECK_ICONV_SUPPORT call for mingw crosses. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119782 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-122006-12-12 Benjamin Kosnik <bkoz@redhat.com>bkoz
PR libstdc++/26497 * crossconfig.m4: Add GLIBCXX_CHECK_LINKER_FEATURES for Solaris. * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set glibcxx_gnu_ld_version only when with GNU ld confirmed. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119778 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-112006-12-11 Benjamin Kosnik <bkoz@redhat.com>bkoz
PR libstdc++/28125 * acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove link test, ie AC_CHECK_LIB for libiconv. Instead, use bits of AM_ICONV. * configure: Regenerate. * scripts/testsuite_flags.in (cxxldflags): Add LIBICONV bits. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119749 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-112006-12-11 Richard Guenther <rguenther@suse.de>paolo
Paolo Carlini <pcarlini@suse.de> * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Qualify types. * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Likewise. * include/ext/rope: Likewise. * include/bits/stl_tree.h (struct _Rb_tree): Change the _Link_type typedefs to use _Rb_tree_node<_Val> directly. (_M_get_node, _M_put_node): Use _Link_type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119732 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-102006-12-10 Paolo Carlini <pcarlini@suse.de>paolo
* src/valarray-inst.cc (__gslice_to_index): Optimize performance. * testsuite/performance/26_numerics/valarray_gslice_to_index.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119707 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-08 * testsuite/util/testsuite_hooks.cc (set_memory_limits): Don't setjakub
RLIMIT_AS below 16MB on x86_64-linux. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119652 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-072006-12-06 Benjamin Kosnik <bkoz@redhat.com>bkoz
* include/Makefile.am (std_headers_rename): Remove. (c_base_headers_rename): Remove. (std_headers): Adjust to true names. (c_base_headers): Adjust to true names. (stamp-c_base, stamp_std, stamp_c_base_extra): Adjust. * configure: Regenerate. * include/Makefile.in: Regenerate. * include/std/std_algorithm.h: To... * include/std/std_bitset.h: To... * include/std/std_complex.h: To... * include/std/std_deque.h: To... * include/std/std_fstream.h: To... * include/std/std_functional.h: To... * include/std/std_iomanip.h: To... * include/std/std_iosfwd.h: To... * include/std/std_ios.h: To... * include/std/std_iostream.h: To... * include/std/std_istream.h: To... * include/std/std_iterator.h: To... * include/std/std_limits.h: To... * include/std/std_list.h: To... * include/std/std_locale.h: To... * include/std/std_map.h: To... * include/std/std_memory.h: To... * include/std/std_numeric.h: To... * include/std/std_ostream.h: To... * include/std/std_queue.h: To... * include/std/std_set.h: To... * include/std/std_sstream.h: To... * include/std/std_stack.h: To... * include/std/std_stdexcept.h: To... * include/std/std_streambuf.h: To... * include/std/std_string.h: To... * include/std/std_utility.h: To... * include/std/std_valarray.h: To... * include/std/std_vector.h: To... * include/std/algorithm: ...this. * include/std/bitset: ...this. * include/std/complex: ...this. * include/std/deque: ...this. * include/std/fstream: ...this. * include/std/functional: ...this. * include/std/iomanip: ...this. * include/std/iosfwd: ...this. * include/std/ios: ...this. * include/std/iostream: ...this. * include/std/istream: ...this. * include/std/iterator: ...this. * include/std/limits: ...this. * include/std/list: ...this. * include/std/locale: ...this. * include/std/map: ...this. * include/std/memory: ...this. * include/std/numeric: ...this. * include/std/ostream: ...this. * include/std/queue: ...this. * include/std/set: ...this. * include/std/sstream: ...this. * include/std/stack: ...this. * include/std/stdexcept: ...this. * include/std/streambuf: ...this. * include/std/string: ...this. * include/std/utility: ...this. * include/std/valarray: ...this. * include/std/vector: ...this. * include/c_std/std_cassert.h: To... * include/c_std/std_cctype.h: To... * include/c_std/std_cerrno.h: To... * include/c_std/std_cfloat.h: To... * include/c_std/std_ciso646.h: To... * include/c_std/std_climits.h: To... * include/c_std/std_clocale.h: To... * include/c_std/std_cmath.h: To... * include/c_std/std_csetjmp.h: To... * include/c_std/std_csignal.h: To... * include/c_std/std_cstdarg.h: To... * include/c_std/std_cstddef.h: To... * include/c_std/std_cstdio.h: To... * include/c_std/std_cstdlib.h: To... * include/c_std/std_cstring.h: To... * include/c_std/std_ctime.h: To... * include/c_std/std_cwchar.h: To... * include/c_std/std_cwctype.h: To... * include/c_std/cassert: ...this. * include/c_std/cctype: ...this. * include/c_std/cerrno: ...this. * include/c_std/cfloat: ...this. * include/c_std/ciso646: ...this. * include/c_std/climits: ...this. * include/c_std/clocale: ...this. * include/c_std/cmath: ...this. * include/c_std/csetjmp: ...this. * include/c_std/csignal: ...this. * include/c_std/cstdarg: ...this. * include/c_std/cstddef: ...this. * include/c_std/cstdio: ...this. * include/c_std/cstdlib: ...this. * include/c_std/cstring: ...this. * include/c_std/ctime: ...this. * include/c_std/cwchar: ...this. * include/c_std/cwctype: ...this. * include/c/std_cassert.h: To... * include/c/std_cctype.h: To... * include/c/std_cerrno.h: To... * include/c/std_cfloat.h: To... * include/c/std_ciso646.h: To... * include/c/std_climits.h: To... * include/c/std_clocale.h: To... * include/c/std_cmath.h: To... * include/c/std_csetjmp.h: To... * include/c/std_csignal.h: To... * include/c/std_cstdarg.h: To... * include/c/std_cstddef.h: To... * include/c/std_cstdio.h: To... * include/c/std_cstdlib.h: To... * include/c/std_cstring.h: To... * include/c/std_ctime.h: To... * include/c/std_cwchar.h: To... * include/c/std_cwctype.h: To... * include/c/cassert: ...this. * include/c/cctype: ...this. * include/c/cerrno: ...this. * include/c/cfloat: ...this. * include/c/ciso646: ...this. * include/c/climits: ...this. * include/c/clocale: ...this. * include/c/cmath: ...this. * include/c/csetjmp: ...this. * include/c/csignal: ...this. * include/c/cstdarg: ...this. * include/c/cstddef: ...this. * include/c/cstdio: ...this. * include/c/cstdlib: ...this. * include/c/cstring: ...this. * include/c/ctime: ...this. * include/c/cwchar: ...this. * include/c/cwctype: ...this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119611 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-052006-12-05 Benjamin Kosnik <bkoz@redhat.com>bkoz
* include/bits/localefwd.h: Consistent @file placement, use include/ as part of the path for files that have shadows instead of no name. * include/bits/valarray_after.h: Same. * include/bits/gslice_array.h: Same. * include/bits/gslice.h: Same. * include/bits/locale_classes.h: Same. * include/bits/locale_facets.h: Same. * include/bits/indirect_array.h: Same. * include/bits/basic_string.h: Same. * include/bits/ios_base.h: Same. * include/bits/postypes.h: Same. * include/bits/codecvt.h: Same. * include/bits/mask_array.h: Same. * include/bits/slice_array.h: Same. * include/bits/boost_concept_check.h: Same. * include/bits/char_traits.h: Same. * include/bits/stringfwd.h: Same. * include/bits/c++config: Same. * include/bits/valarray_array.h: Same. * include/bits/valarray_before.h: Same. * include/bits/cpp_type_traits.h: Same. * include/c/std_cerrno.h: Same. * include/precompiled/extc++.h: Same. * include/precompiled/stdtr1c++.h: Same. * include/precompiled/stdc++.h: Same. * include/tr1/cinttypes: Same. * include/tr1/fenv.h: Same. * include/tr1/mu_iterate.h: Same. * include/tr1/cstdio: Same. * include/tr1/limits.h: Same. * include/tr1/ctgmath: Same. * include/tr1/cstdarg: Same. * include/tr1/tuple: Same. * include/tr1/float.h: Same. * include/tr1/stdint.h: Same. * include/tr1/tuple_iterate.h: Same. * include/tr1/type_traits_fwd.h: Same. * include/tr1/hashtable_policy.h: Same. * include/tr1/cfenv: Same. * include/tr1/wctype.h: Same. * include/tr1/ref_fwd.h: Same. * include/tr1/bind_repeat.h: Same. * include/tr1/utility: Same. * include/tr1/climits: Same. * include/tr1/type_traits: Same. * include/tr1/stdlib.h: Same. * include/tr1/cwchar: Same. * include/tr1/stdio.h: Same. * include/tr1/ref_wrap_iterate.h: Same. * include/tr1/cstdint: Same. * include/tr1/memory: Same. * include/tr1/cstdbool: Same. * include/tr1/cwctype: Same. * include/tr1/bind_iterate.h: Same. * include/tr1/math.h: Same. * include/tr1/random: Same. * include/tr1/tuple_defs.h: Same. * include/tr1/cstdlib: Same. * include/tr1/unordered_map: Same. * include/tr1/boost_shared_ptr.h: Same. * include/tr1/cctype: Same. * include/tr1/random.tcc: Same. * include/tr1/wchar.h: Same. * include/tr1/hashtable: Same. * include/tr1/cmath: Same. * include/tr1/stdbool.h: Same. * include/tr1/ctime: Same. * include/tr1/functional: Same. * include/tr1/unordered_set: Same. * include/tr1/inttypes.h: Same. * include/tr1/functional_iterate.h: Same. * include/tr1/repeat.h: Same. * include/tr1/complex: Same. * include/tr1/cfloat: Same. * include/tr1/ctype.h: Same. * include/tr1/stdarg.h: Same. * include/tr1/tgmath.h: Same. * include/tr1/array: Same. * include/tr1/common.h: Same. * include/std/std_valarray.h: Same. * include/std/std_iostream.h: Same. * include/std/std_queue.h: Same. * include/std/std_algorithm.h: Same. * include/std/std_streambuf.h: Same. * include/std/std_iterator.h: Same. * include/std/std_ios.h: Same. * include/std/std_bitset.h: Same. * include/std/std_iosfwd.h: Same. * include/std/std_set.h: Same. * include/std/std_iomanip.h: Same. * include/std/std_fstream.h: Same. * include/std/std_functional.h: Same. * include/std/std_numeric.h: Same. * include/std/std_vector.h: Same. * include/std/std_deque.h: Same. * include/std/std_stdexcept.h: Same. * include/std/std_utility.h: Same. * include/std/std_stack.h: Same. * include/std/std_string.h: Same. * include/std/std_complex.h: Same. * include/std/std_memory.h: Same. * include/std/std_ostream.h: Same. * include/std/std_list.h: Same. * include/std/std_map.h: Same. * include/std/std_sstream.h: Same. * include/c_std/std_csignal.h: Same. * include/c_std/std_cstdlib.h: Same. * include/c_std/std_cstdio.h: Same. * include/c_std/std_cstdarg.h: Same. * include/c_std/std_cctype.h: Same. * include/c_std/std_cerrno.h: Same. * include/c_std/std_cmath.h: Same. * include/c_std/std_ctime.h: Same. * include/c_std/std_clocale.h: Same. * include/c_std/std_climits.h: Same. * include/c_std/std_cassert.h: Same. * include/c_std/cmath.tcc * include/c_std/std_csetjmp.h: Same. * include/c_std/std_cwchar.h: Same. * include/c_std/std_cfloat.h: Same. * include/c_std/std_cstring.h: Same. * include/c_std/std_cstddef.h: Same. * include/c_std/std_cwctype.h: Same. * config/locale/gnu/c_locale.h: Namespace scope in all files. * config/locale/gnu/messages_members.h: Same. * config/locale/gnu/c++locale_internal.h: Same. * config/locale/gnu/time_members.h: Same. * config/locale/ieee_1003.1-2001/c_locale.h: Same. * config/locale/ieee_1003.1-2001/messages_members.h: Same. * config/locale/generic/c_locale.h: Same. * config/locale/generic/messages_members.h: Same. * config/locale/generic/time_members.h: Same. * config/allocator/mt_allocator_base.h: Same. * config/allocator/malloc_allocator_base.h: Same. * config/allocator/new_allocator_base.h: Same. * config/allocator/pool_allocator_base.h: Same. * config/allocator/bitmap_allocator_base.h: Same. * config/os/windiss/ctype_noninline.h: Same. * config/os/windiss/os_defines.h: Same. * config/os/windiss/ctype_inline.h: Same. * config/os/newlib/ctype_noninline.h: Same. * config/os/newlib/os_defines.h: Same. * config/os/newlib/ctype_inline.h: Same. * config/os/aix/ctype_noninline.h: Same. * config/os/aix/os_defines.h: Same. * config/os/aix/ctype_inline.h: Same. * config/os/vxworks/ctype_noninline.h: Same. * config/os/vxworks/os_defines.h: Same. * config/os/vxworks/ctype_inline.h: Same. * config/os/hpux/ctype_noninline.h: Same. * config/os/hpux/os_defines.h: Same. * config/os/hpux/ctype_inline.h: Same. * config/os/mingw32/ctype_noninline.h: Same. * config/os/mingw32/os_defines.h: Same. * config/os/mingw32/ctype_inline.h: Same. * config/os/gnu-linux/ctype_noninline.h: Same. * config/os/gnu-linux/os_defines.h: Same. * config/os/gnu-linux/ctype_inline.h: Same. * config/os/tpf/ctype_noninline.h: Same. * config/os/tpf/os_defines.h: Same. * config/os/tpf/ctype_inline.h: Same. * config/os/uclibc/ctype_noninline.h: Same. * config/os/uclibc/os_defines.h: Same. * config/os/uclibc/ctype_inline.h: Same. * config/os/djgpp/ctype_noninline.h: Same. * config/os/djgpp/os_defines.h: Same. * config/os/djgpp/ctype_inline.h: Same. * config/os/qnx/qnx6.1/ctype_noninline.h: Same. * config/os/qnx/qnx6.1/ctype_inline.h: Same. * config/os/bsd/netbsd/ctype_noninline.h: Same. * config/os/bsd/netbsd/ctype_inline.h: Same. * config/os/bsd/darwin/ctype_noninline.h: Same. * config/os/bsd/darwin/ctype_inline.h: Same. * config/os/bsd/freebsd/ctype_noninline.h: Same. * config/os/bsd/freebsd/ctype_inline.h: Same. * config/os/irix/irix5.2/ctype_noninline.h: Same. * config/os/irix/irix5.2/ctype_inline.h: Same. * config/os/irix/irix6.5/ctype_noninline.h: Same. * config/os/irix/irix6.5/ctype_inline.h: Same. * config/os/solaris/solaris2.5/ctype_noninline.h: Same. * config/os/solaris/solaris2.5/ctype_inline.h: Same. * config/os/solaris/solaris2.6/ctype_noninline.h: Same. * config/os/solaris/solaris2.6/ctype_inline.h: Same. * config/os/solaris/solaris2.7/ctype_noninline.h: Same. * config/os/solaris/solaris2.7/ctype_inline.h: Same. * config/os/generic/ctype_noninline.h: Same. * config/os/generic/os_defines.h: Same. * config/os/generic/ctype_inline.h: Same. * config/cpu/arm/cxxabi_tweaks.h: Same. * config/cpu/powerpc/cpu_defines.h: Same. * config/cpu/generic/cxxabi_tweaks.h: Same. * config/cpu/generic/cpu_defines.h: Same. * config/cpu/generic/atomic_word.h: Same. * config/io/c_io_stdio.h: Same. * config/abi/compatibility.h: Same. * docs/doxygen/user.cfg.in: Adjust file list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119561 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-052006-12-05 Paolo Carlini <pcarlini@suse.de>paolo
DR 543, [Ready]. * include/bits/slice_array.h (slice::slice()): Implement the resolution. * include/bits/gslice.h (gslice::_Indexer::_Indexer()): Add. (gslice::gslice()): Use it. * testsuite/26_numerics/valarray/dr543.cc: New. * docs/html/ext/howto.html: Add an entry for DR 543. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119552 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-052006-12-05 Benjamin Kosnik <bkoz@redhat.com>bkoz
* include/tr1/tuple: Consistent include guards. * include/tr1/type_traits: Same. * include/tr1/array: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119539 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-042006-12-04 Paolo Carlini <pcarlini@suse.de>paolo
PR libstdc++/29989 (again) * include/bits/c++config: #undef min and max. * testsuite/18_support/numeric_limits/29989.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119510 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-04config/ebotcazou
* tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking if static linking doesn't even work. libgomp/ * configure: Regenerate. libmudflap/ * configure: Regenerate. libjava/ * configure: Regenerate. libstdc++-v3/ * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119487 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-032006-12-03 Paolo Carlini <pcarlini@suse.de>paolo
PR libstdc++/29989 * include/bits/stl_algobase.h: Remove min and max #undefs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119467 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-022006-12-02 Howard Hinnant <hhinnant@apple.com>paolo
* acinclude.m4: Allow OPTIMIZE_CXXFLAGS to be set by configure.host. * configure.host: Set OPTIMIZE_CXXFLAGS to -fvisibility-inlines-hidden for x86/darwin. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119450 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-022006-12-01 Paolo Carlini <pcarlini@suse.de>paolo
* include/ext/mt_allocator.h (__pool_base::_M_get_align): Remove redundant const qualifier on the return type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119435 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-292006-11-29 Benjamin Kosnik <bkoz@redhat.com>bkoz
* include/ext/throw_allocator.h: Consistent @file markup. * include/ext/type_traits.h: Same. * include/debug/hash_map: Same. * include/debug/hash_multimap.h: Same. * include/debug/set.h: Same. * include/debug/hash_set.h: Same. * include/debug/formatter.h: Same. * include/debug/bitset: Same. * include/debug/set: Same. * include/debug/multiset.h: Same. * include/debug/safe_sequence.h: Same. * include/debug/hash_set: Same. * include/debug/functions.h: Same. * include/debug/safe_base.h: Same. * include/debug/hash_multiset.h: Same. * include/debug/safe_iterator.tcc: Same. * include/debug/vector: Same. * include/debug/map.h: Same. * include/debug/deque: Same. * include/debug/hash_map.h: Same. * include/debug/string: Same. * include/debug/macros.h: Same. * include/debug/list: Same. * include/debug/debug.h: Same. * include/debug/map: Same. * include/debug/safe_iterator.h: Same. * include/debug/multimap.h: Same. * config/cpu/generic/atomicity_mutex/atomicity.h: Same. * config/cpu/generic/atomicity_builtins/atomicity.h: Same. * config/cpu/generic/atomic_word.h: Same. * include/tr1/memory: Same. * include/tr1/random: Same. * include/std/std_queue.h: Same. * include/std/std_iterator.h: Same. * include/std/std_bitset.h: Same. * include/std/std_set.h: Same. * include/std/std_vector.h: Same. * include/std/std_deque.h: Same. * include/std/std_utility.h: Same. * include/std/std_stack.h: Same. * include/std/std_string.h: Same. * include/std/std_list.h: Same. * include/std/std_map.h: Same. * libsupc++/typeinfo: Same. * libsupc++/exception: Same. * libsupc++/exception_defines.h: Same. * libsupc++/new: Same. * include/ext/bitmap_allocator.h: Change namespace __balloc to __detail. * src/bitmap_allocator.cc: Same. * include/bits/cpp_type_traits.h: Change __true_type and __false_type from global to namespace std scope. * include/ext/slist: Same. * include/ext/vstring.h: Same. * include/ext/vstring.tcc: Same. * include/ext/rc_string_base.h: Same. * include/ext/sso_string_base.h: Same. * include/bits/codecvt.h: Adjust markup so that correct namespace scope information is in all files. * include/bits/locale_facets.h: Same. Include ctype_base directly. * config/os/windiss/ctype_base.h: Add in namespace markup. * config/os/newlib/ctype_base.h: Same. * config/os/aix/ctype_base.h: Same. * config/os/vxworks/ctype_base.h: Same. * config/os/hpux/ctype_base.h: Same. * config/os/mingw32/ctype_base.h: Same. * config/os/gnu-linux/ctype_base.h: Same. * config/os/tpf/ctype_base.h: Same. * config/os/uclibc/ctype_base.h: Same. * config/os/djgpp/ctype_base.h: Same. * config/os/qnx/qnx6.1/ctype_base.h: Same. * config/os/bsd/netbsd/ctype_base.h: Same. * config/os/bsd/darwin/ctype_base.h: Same. * config/os/bsd/freebsd/ctype_base.h: Same. * config/os/irix/irix5.2/ctype_base.h: Same. * config/os/irix/irix6.5/ctype_base.h: Same. * config/os/solaris/solaris2.5/ctype_base.h: Same. * config/os/solaris/solaris2.6/ctype_base.h: Same. * config/os/solaris/solaris2.7/ctype_base.h: Same. * config/os/generic/ctype_base.h: Same. * include/tr1/mu_iterate.h: Same. * include/tr1/tuple: Same. * include/tr1/tuple_iterate.h: Same. * include/tr1/tuple_defs.h: Same. * include/tr1/random.tcc: Same. * include/tr1/functional: Same. * include/tr1/functional_iterate.h: Same. * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Line number changes. * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same. * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same. * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same. * docs/doxygen/user.cfg.in: Update to doxygen 1.5.1. * docs/html/17_intro/license.html: Updated info for generated docs. * docs/doxygen/guide.html: Adjust. * docs/doxygen/run_doxygen: Adjust. * docs/doxygen/mainpage.html: Same. * docs/doxygen/doxygroups.cc: Same. * docs/doxygen/Intro.3: Same. * docs/doxygen/tables.html: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119334 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-262006-11-26 Paolo Carlini <pcarlini@suse.de>paolo
PR libstdc++/29385 (2nd part, based on an idea by Ion Gaztanaga) * include/bits/stl_tree.h (_Rb_tree<>::_M_equal_range): Add. (equal_range(const key_type&)): Use it. 2006-11-26 Paolo Carlini <pcarlini@suse.de> * testsuite/23_containers/multiset/operations/1.cc: New. * testsuite/23_containers/set/operations/1.cc: Likewise. * testsuite/23_containers/multimap/operations/1.cc: Likewise. * testsuite/23_containers/map/operations/1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119221 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-252006-11-25 Paolo Carlini <pcarlini@suse.de>paolo
PR libstdc++/29385 (partial) * include/bits/stl_tree.h (_Rb_tree<>::destroy_node): Uglify. (_M_erase, erase(iterator), erase(const_iterator)): Adjust 2006-11-25 Paolo Carlini <pcarlini@suse.de> PR libstdc++/29385 (partial) * include/bits/stl_tree.h (_Rb_tree<>::_M_lower_bound(_Const_Link_type, _Const_Link_type, const _Key&), _M_upper_bound(_Const_Link_type, _Const_Link_type, const _Key&)): Add. (lower_bound(const key_type&), upper_bound(const key_type&), find(const key_type&)): Call the latter. 2006-11-25 Gawain Bolton <gp.bolton@computer.org> PR libstdc++/29385 (partial) * include/bits/stl_tree.h (_Rb_tree_rotate_left, _Rb_tree_rotate_right): Do not declare. (_Rb_tree<>::_M_insert(_Base_ptr, _Base_ptr, const value_type&), _M_insert(_Const_Base_ptr, _Const_Base_ptr, const value_type&), _M_insert_unique(iterator, const value_type&), _M_insert_unique(const_iterator, const value_type&), _M_insert_equal(iterator, const value_type&), _M_insert_equal(const_iterator, const value_type&)): Remove. (_Rb_tree<>::_M_insert_(_Const_Base_ptr, _Const_Base_ptr, const value_type&), _M_insert_unique_(const_iterator, const value_type&), _M_insert_equal_(const_iterator, const value_type&)): Add, adjust all callers. * include/bits/stl_map.h (map<>::insert(iterator, const value_type&)): Adjust. * include/bits/stl_set.h (set<>::insert(iterator, const value_type&)): Likewise. * include/bits/stl_multimap.h (multimap<>::insert(iterator, const value_type&)): Likewise. * include/bits/stl_multiset.h (multiset<>::insert(iterator, const value_type&)): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119190 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-23Add PR marker for libstdc++/29920amylaar
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119133 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-222006-11-22 Antony King <anthony.king@st.com>amylaar
J"orn Rennecke <joern.rennecke@st.com> * include/Makefile.am (stamp-host): Remove CCODECVT_H line. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119091 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-212006-11-21 Benjamin Kosnik <bkoz@redhat.com>bkoz
* include/ext/hashtable.h: -Wshadow fixes. * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same. * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same. * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ constructor_destructor_fn_imps.hpp: Same. * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same. * include/ext/pb_ds/detail/ov_tree_map_/ constructors_destructor_fn_imps.hpp: Same. * src/mt_allocator.cc: Same. * src/debug.cc: Same. * config/locale/gnu/codecvt_members.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119061 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-212006-11-21 Benjamin Kosnik <bkoz@redhat.com>bkoz
Howard Hinnant <hhinnant@apple.com> * src/iostream-inst.cc: Remove iostream include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119048 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-212006-11-07 Benjamin Kosnik <bkoz@redhat.com>bkoz
Howard Hinnant <hhinnant@apple.com> * src/iostream-inst.cc: Remove iostream include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119046 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-192006-11-19 Paolo Carlini <pcarlini@suse.de>paolo
* include/tr1/functional (hash(long long), hash(unsigned long long)): Add specializations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118991 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-18gcc:jsm28
* config/rs6000/rs6000.h (TARGET_NO_LWSYNC): Define. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define __NO_LWSYNC__ if TARGET_NO_LWSYNC. * config/rs6000/sync.md (lwsync): Emit plain sync if TARGET_NO_LWSYNC. libstdc++-v3: * config/cpu/powerpc/atomic_word.h (_GLIBCXX_WRITE_MEM_BARRIER): Use plain sync if __NO_LWSYNC__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118961 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-14 * testsuite/26_numerics/complex/13450.cc: Do not test long doublejsm28
in IBM long double case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118814 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-13 * tls.m4 (GCC_CHECK_TLS): Fall back to a link test.drow
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118777 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-13 * libsupc++/eh_globals.cc (__cxxabiv1::__cxa_get_globals):jsm28
Initialize propagatingExceptions if __ARM_EABI_UNWINDER__. * libsupc++/eh_personality.cc (empty_exception_spec): Define separately in __ARM_EABI_UNWINDER__ case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118757 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-13gcc:jsm28
* config/arm/bpapi.h (TARGET_BPABI_CPP_BUILTINS): Define __GXX_TYPEINFO_EQUALITY_INLINE but not __GXX_MERGED_TYPEINFO_NAMES. * config/arm/symbian.h (TARGET_OS_CPP_BUILTINS): Define __GXX_MERGED_TYPEINFO_NAMES. * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define __GXX_TYPEINFO_EQUALITY_INLINE. libstdc++-v3: * libsupc++/typeinfo (__GXX_TYPEINFO_EQUALITY_INLINE): Define. Use instead of __GXX_MERGED_TYPEINFO_NAMES to condition inline definitions. * libsupc++/tinfo.cc (operator==): Condition on __GXX_TYPEINFO_EQUALITY_INLINE; check __GXX_MERGED_TYPEINFO_NAMES to determine algorithm. * libsupc++/tinfo2.cc (type_info::before): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118755 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-122006-11-12 Paolo Carlini <pcarlini@suse.de>paolo
* include/ext/bitmap_allocator.h: Uglify some names. * include/ext/concurrence.h: Likewise. * src/bitmap_allocator.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118722 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-112006-11-11 Paolo Carlini <pcarlini@suse.de>paolo
PR libstdc++/29496 * include/debug/safe_base.h (_Safe_sequence_base::_M_get_mutex, _Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single): New. * src/debug.cc: Define the latter. (_Safe_sequence_base::_M_detach_all, _M_detach_singular, _M_revalidate_singular, _M_swap): Use the mutex. (_Safe_iterator_base::_M_attach, _M_detach): Adjust, forward to the *_single version. * include/debug/safe_iterator.h (_Safe_iterator<>::_M_attach_single, _M_invalidate_single): New. * include/debug/safe_iterator.tcc: Define. (_Safe_iterator<>::_M_invalidate): Adjust, forward to _M_invalidate_single. * include/debug/safe_sequence.h (_Safe_sequence<>::_M_invalidate_if, _M_transfer_iter): Use the mutex, adjust, forward to the *_single versions of _M_invalidate and _M_attach. * config/abi/pre/gnu.ver (_Safe_sequence_base::_M_get_mutex, _Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single): Add @GLIBCXX_3.4.10; adjust. * configure.ac (libtool_VERSION): To 6:10:0. * testsuite/util/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.10. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118701 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-10 * config/locale/gnu/c_locale.cc (__convert_to_v): Preferjakub
strtold_l over __strtold_l if available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118654 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-072006-11-07 Benjamin Kosnik <bkoz@redhat.com>bkoz
PR libstdc++/29722 * include/ext/concurrence.h (concurrence_lock_error): New. (concurrence_unlock_error): New. (__throw_concurrence_lock_error): New. (__throw_concurrence_unlock_error): New. (__mutex): Use functions. (__recursive_mutex): Same. * testsuite/abi/cxx_runtime_only_linkage.cc: New. * include/ext/pb_ds/exception.hpp: Keep exception classes defined even when -fno-exceptions is passed, consistent with other usage. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118564 138bc75d-0d04-0410-961f-82ee72b054a4