summaryrefslogtreecommitdiff
path: root/libstdc++-v3
Commit message (Collapse)AuthorAgeFilesLines
* 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-03-253-8/+17
| | | | | | | | | | | | | * include/bits/random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), negative_binomial_distribution<>:: negative_binomial_distribution(const param_type&)): Tweak construction of _M_gd. * include/bits/random.tcc (negative_binomial_distribution<>:: operator()): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171443 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-03-249-23/+313
| | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), negative_binomial_distribution<>:: negative_binomial_distribution(const param_type&)): Fix construction of _M_gd. * include/bits/random.tcc (negative_binomial_distribution<>:: operator()): Fix computation, per Leger's algorithm. * testsuite/util/testsuite_random.h (discrete_pdf, negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New. (binomial_pdf): Swap last two parameters. * testsuite/26_numerics/random/discrete_distribution/ operators/values.cc: New. * testsuite/26_numerics/random/negative_binomial_distribution/ operators/values.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/ operators/values.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/ operators/values.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/ operators/values.cc: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171411 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-03-242-2/+2
| | | | | | | | | | * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak Copyright years. * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171401 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.ro2011-03-246-18/+402
| | | | | | | | | | * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171382 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.jakub2011-03-233-0/+552
| | | | | | | * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171348 138bc75d-0d04-0410-961f-82ee72b054a4
* * MAINTAINERS (crx port, m68hc11 port): Remove. Move maintainersjsm282011-03-223-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to Write After Approval. * config-ml.in: Don't handle arc-*-elf*. * configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe, m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't handle GCC libraries. * configure: Regenerate. contrib: * compare-all-tests (all_targets): Remove crx and m68hc11. fixincludes: * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe. gcc: * config/alpha/gnu.h: Remove. * config/arc: Remove directory. * config/arm/netbsd.h: Remove. * config/arm/t-pe: Remove. * config/crx: Remove directory. * config/i386/netbsd.h: Remove. * config/m68hc11: Remove directory. * config/m68k/uclinux-oldabi.h: Remove. * config/mcore/mcore-pe.h: Remove. * config/mcore/t-mcore-pe: Remove. * config/netbsd-aout.h: Remove. * config/rs6000/gnu.h: Remove. * config/sh/sh-symbian.h: Remove. * config/sh/symbian-base.c: Remove. * config/sh/symbian-c.c: Remove. * config/sh/symbian-cxx.c: Remove. * config/sh/symbian-post.h: Remove. * config/sh/symbian-pre.h: Remove. * config/sh/t-symbian: Remove. * config/svr3.h: Remove. * config/vax/netbsd.h: Remove. * config.build: Don't handle i[34567]86-*-pe. * config.gcc: Remove handling of deprecations for most deprecated targets. (m68k-*-uclinuxoldabi*): Add to second deprecated list. (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): Remove cases. * config.host: Don't handle i[34567]86-*-pe. * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. (ASM_SPEC32): Don't handle -mcall-gnu. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle -mcall-gnu. (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. * config/sh/sh-protos.h, config/sh/sh.c: Remove all code conditional on SYMBIAN. * configure.ac: Don't handle powerpc*-*-gnu*. * configure: Regenerate. * doc/extend.texi (interrupt attribute): Don't mention CRX. * doc/install-old.texi (m6811, m6812): Don't mention. * doc/install.texi (arc-*-elf*): Don't document multilib option. (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. (m68k-uclinuxoldabi): Don't mention. * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): Remove. (-mcall-gnu): Remove. * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 families): Remove constraint documentation. gcc/testsuite: * gcc.c-torture/execute/920501-8.x: Remove. * gcc.c-torture/execute/930513-1.x: Remove. * gcc.c-torture/execute/960312-1.x: Remove. * gcc.c-torture/compile/20000804-1.c, gcc.c-torture/compile/20001205-1.c, gcc.c-torture/compile/20001226-1.c, gcc.c-torture/compile/20010518-2.c, gcc.c-torture/compile/20020312-1.c, gcc.c-torture/compile/20020604-1.c, gcc.c-torture/compile/920501-12.c, gcc.c-torture/compile/920501-4.c, gcc.c-torture/compile/920520-1.c, gcc.c-torture/compile/980506-1.c, gcc.c-torture/execute/980709-1.x, gcc.c-torture/execute/990826-0.x: Don't XFAIL or use special options for m68hc11. * gcc.dg/cpp/assert4.c: Don't handle ARC. * gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: Don't XFAIL for arc or m68hc11. libgcc: * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*, powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): Remove cases. libstdc++-v3: * configure.ac: Don't handle powerpc*-*-gnu*. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171302 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-03-221-0/+7
| | | | | | | | | | * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak Copyright years. * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171294 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-03-227-39/+361
| | | | | | | | | | | | | | | * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add, per DR 1401. (operator==, operator!=, operator<): Fix per the letter of DR 1401. * include/bits/shared_ptr_base.h: Likewise for __shared_ptr. * include/bits/unique_ptr.h (operator==, operator!=, operator<, operator<=, operator>, operator>=): Fix per the letter of DR 1401. * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New. * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171293 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSsjakub2011-03-2218-0/+163
| | | | | | | | | | | | | | | | | | | | | | | | | and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_. * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated. * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise. * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test. * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171291 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:mrs2011-03-212-0/+8
| | | | | | | | | | | | | | | | 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu> * lib/prune.exp (prune_gcc_output): Prune "could not create compact unwind for" warnings. libstdc++: 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu> * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not create compact unwind for" warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171263 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.jakub2011-03-2113-18/+1883
| | | | | | | | | | | | | | | | | | * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171258 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/util/testsuite_abi.cc (check_version): Set incompatiblejakub2011-03-212-4/+14
| | | | | | | | even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and CXXABI_LDBL_1.3 versions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171257 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.jakub2011-03-212-6/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171256 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].jakub2011-03-212-6/+16
| | | | | | | (CXXABI_1.3.5): Export _ZTI[PK]*[no]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171255 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail onro2011-03-212-4/+8
| | | | | | | sparc*-sun-solaris2.10 && lp64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171231 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-03-194-6/+17
| | | | | | | | | | | | * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename to check_v3_target_cmath. * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename to dg-require-cmath. * testsuite/26_numerics/random/binomial_distribution/ operators/values.cc: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171184 138bc75d-0d04-0410-961f-82ee72b054a4
* * mixed-mode-arith_neg.cc: Rename from mixed-mode_neg.ccdnovillo2011-03-183-71/+116
| | | | | | * mixed-mode-cmp_neg.cc: Factor out of mixed-mode-arith_neg.cc git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171161 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-03-181-2/+2
| | | | | | | Fixup last ChangeLog entry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171137 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-03-187-4/+361
| | | | | | | | | | | | | | | | * testsuite/util/testsuite_random.h: New. * testsuite/lib/libstdc++.exp (check_v3_target_c99_math, dg-require-c99_math): Add. * testsuite/26_numerics/random/bernoulli_distribution/ operators/values.cc: New. * testsuite/26_numerics/random/binomial_distribution/ operators/values.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/ operators/values.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171133 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-03-163-0/+241
| | | | | | | | | * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes. * testsuite/19_diagnostics/stdexcept.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171049 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-03-164-8/+9
| | | | | | | | | | | * include/std/thread: Revert. * src/thread.cc: Same. * config/abi/pre/gnu.ver: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171021 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-15 Doug Kwan <dougkwan@google.com>dougkwan2011-03-153-2/+11
| | | | | | | | | | PR libstdc++/48123 * include/Makefile.am (install-freestanding-headers): Install cpu_defines.h * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171019 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-03-152-9/+24
| | | | | | | | | * config/abi/pre/gnu.ver: Make nested_exception exports super clear. Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171014 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-03-153-0/+11
| | | | | | | | | | | PR libstdc++/48130 * src/future.cc: Guard definitions. * libsupc++/nested_exception.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170979 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-03-154-6/+14
| | | | | | | | | | | | | | | | | * include/bits/regex_compiler.h: Nest namespace versioning. * include/bits/regex_grep_matcher.tcc: Same. * include/bits/regex_grep_matcher.h: Same. * include/bits/regex_cursor.h: Same. * include/bits/regex_nfa.h: Same. * include/bits/regex_nfa.tcc: Same. * include/bits/regex_grep_matcher.h: Version forward declarations. * include/bits/c++config: Add namespace association for __regex. * include/bits/regex.h: Make sub_match consistent. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170978 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-03-1528-504/+730
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/Makefile.am: Add functional.cc, shared_ptr.cc. * src/Makefile.in: Regenerate. * libsupc++/Makefile.am: Add nested_exception.cc. * libsupc++/Makefile.in: Regenerate. * src/system_error.cc: Add ctor and dtor definitions for error_category. * src/functional.cc: New. Add dtor definition for bad_function_call. * src/stdexcept.cc: Add dtor definitions for domain_error, invalid_argument, length_error, out_of_range, range_error, overflow_error, underflow_error. * src/future.cc: Add dtor definition for __future_base::_Result_base. * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr. * src/thread.cc: Add dtor for thread::_Impl_base. * include/std/system_error: Adjust. * include/std/stdexcept: Same. * include/std/future: Same. * include/std/functional: Same. * include/std/thread: Same. * include/bits/shared_ptr_base.h: Same. * libsupc++/nested_exception.cc: New. Add dtor for nested_exception. * libsupc++/nested_exception.h: Adjust. * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same. * config/abi/pre/gnu.ver: Add new exports. * include/bits/regex_compiler.h: Nest namespace versioning. * include/bits/regex_grep_matcher.tcc: Same. * include/bits/regex_grep_matcher.h: Same. * include/bits/regex_cursor.h: Same. * include/bits/regex_nfa.h: Same. * include/bits/regex_nfa.tcc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170975 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:ro2011-03-142-2/+8
| | | | | | | | | | | | | * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. libstdc++-v3: * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN equivalents. * doc/html/manual/abi.html: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170960 138bc75d-0d04-0410-961f-82ee72b054a4
* * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.tromey2011-03-142-98/+187
| | | | | | | | | | | | | | | | | | | | Try to import `gdb.printing' module. (UniquePointerPrinter.__init__): Add 'typename' argument. (StdSlistPrinter.__init__): Likewise. (StdSlistIteratorPrinter.__init__): Likewise. (StdVectorIteratorPrinter.__init__): Likewise. (StdRbtreeIteratorPrinter.__init__): Likewise. (StdDebugIteratorPrinter.__init__): Likewise. (StdDequeIteratorPrinter.__init__): Likewise. (StdStringPrinter.__init__): Likewise. (RxPrinter, Printer): New class. (libstdcxx_printer): New global. (register_libstdcxx_printers): Rewrite. (build_libstdcxx_dictionary): Rewrite. (pretty_printers_dict): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170958 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-14 Andrey Zholos <aaz@althenia.net>paolo2011-03-143-8/+20
| | | | | | | | | | | | | | | PR libstdc++/48114 * include/bits/random.h (geometric_distribution): Correct formula in comment, per C++0x. (geometric_distribution<>::param_type::param_type(double)): Fix check. (geometric_distribution<>::param_type::_M_initialize): Store log(1 - p). * include/bits/random.tcc (geometric_distribution<>::operator()): Fix computation. (binomial_distribution<>::operator()): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170946 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-03-097-92/+573
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/util/testsuite_rvalref.h: Minor tweaks. 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org> Chris Jefferson <chris@bubblescope.net> Paolo Carlini <paolo.carlini@oracle.com> * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value): New. * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc: Likewise. * testsuite/25_algorithms/partial_sort/check_compare_by_value: Likewise. * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc: Likewise. * testsuite/25_algorithms/sort/check_compare_by_value: Likewise. 2011-03-09 Chris Jefferson <chris@bubblescope.net> PR libstdc++/48038 * include/bits/stl_algo.h (__merge_backward): Rename to __move_merge_backward and change to always move rather than copy. (__move_merge): New function similar to std::merge except values are moved instead of copied. (__merge_adaptive, __merge_sort_loop): Change from using std::merge and __merge_backward to __move_merge and __move_merge_backward. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170827 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48003jason2011-03-082-4/+6
| | | | | | | | * pt.c (convert_nontype_argument): Fix -fpermissive allowing integer overflow. * semantics.c (potential_constant_expression_1): Check TREE_OVERFLOW. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170771 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-03-0813-748/+824
| | | | | | | | | | | | | | | | Matthias Klose <doko@ubuntu.com> Jonathan Wakely <redi@gcc.gnu.org> PR libstdc++/47145 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define. * configure.ac: Use it. * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time. * configure: Regenerate. * doc/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170763 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-04 Benjamin Kosnik <bkoz@chula>bkoz2011-03-0425-137/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/Makefile.am (inst_sources): Make source instantion files conditional. (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional. * src/Makefile.in: Regenerate. * src/valarray-inst.cc: Move to.. * src/valarray.cc: ...this. * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define. * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it. * configure: Regenerate. * include/Makefile.am (stamp-extern-template): Add. * include/Makefile.in: Regenerate. * doc/xml/manual/configure.xml: Document --enable-extern-template. * include/bits/locale_classes.tcc: Adjust comment. * include/bits/locale_facets.tcc: Same. * include/bits/basic_ios.tcc: Same. * include/bits/istream.tcc: Same. * include/bits/codecvt.h: Same. * include/bits/ostream.tcc: Same. * include/bits/sstream.tcc: Same. * include/bits/c++config: Same. * include/bits/basic_string.tcc: Same. * include/bits/ostream_insert.h: Same. * include/bits/locale_facets_nonio.tcc: Same. * include/bits/streambuf.tcc: Same. * include/bits/allocator.h: Same. * include/bits/fstream.tcc: Same. * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170686 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-03-023-4/+9
| | | | | | | | | * testsuite/Makefile.am: Make clean fixups. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170626 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>paolo2011-03-022-0/+8
| | | | | | | * include/std/ratio (ratio_less): Add comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170617 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>paolo2011-03-023-6/+58
| | | | | | | | | | PR libstdc++/47913 * include/std/ratio (ratio_add): Avoid denominator overflow. * testsuite/20_util/ratio/operations/47913.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170616 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-03-013-5/+11
| | | | | | | * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators. * testsuite/20_util/hash/quality.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170584 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-02-2812-38/+85
| | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/47921 * include/std/streambuf (basic_streambuf<>::__safe_gbump, __safe_pbump): Add. * include/bits/streambuf.tcc (basic_streambuf<>::xgetn, xputn): Use the latter. * include/bits/streambuf_iterator.h: Likewise. * src/strstream.cc: Likewise. * src/streambuf.cc: Likewise. * src/compatibility.cc: Likewise. * src/istream.cc: Likewise. * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg instead of gbump. * include/std/sstream (basic_stringbuf<>::_M_pbump): Add. * include/bits/sstream.tcc (basic_stringbuf<>::seekoff, seekpos, _M_sync): Use setg, setp, and _M_pbump. * config/abi/pre/gnu.ver: Tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170579 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-02-284-6/+128
| | | | | | | | | | | | | * testsuite/20_util/ratio/comparisons/comp3.cc: New. 2011-02-28 Marc Glisse <marc.glisse@normalesup.org> PR libstdc++/42622 * include/std/ratio (ratio_less): Reimplement to never overflow. * testsuite/20_util/ratio/comparisons/comp2.cc: Extend. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170567 138bc75d-0d04-0410-961f-82ee72b054a4
* Change testfile namebkoz2011-02-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170487 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-02-254-6/+92
| | | | | | | | | * testsuite/18_support/type_info/required.cc: New. * testsuite/Makefile.am: Make clean fixups. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170486 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-19 François Dumont <francois.cppdevs@free.fr>fdumont2011-02-193-3/+10
| | | | | | | | | | | | * include/debug/string (basic_string::insert): Add iterator check and pass normal iterator to normal insert. * include/debug/macros.h (__glibcxx_check_heap, __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range, already done. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170322 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-02-173-18/+22
| | | | | | | | | PR libstdc++/47776 * testsuite/ext/vstring/hash/char/1.cc: Fix. * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170242 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>redi2011-02-172-44/+85
| | | | | | | | | | | | | | | * include/bits/regex.h (basic_regex::traits_type): Add typedef. (basic_regex::basic_regex(basic_regex&&)): Add noexcept. (basic_regex::operator=(basic_regex&&)): Likewise. (basic_regex::assign(basic_regex&&)): Likewise. (operator==(sub_match,...)): Implement DR 1181. (match_results::match_results(match_results&&)): Define. (match_results::operator=(const match_results&)): Fix parameter type. (match_results::operator=(match_results&&)): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170238 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>redi2011-02-173-0/+45
| | | | | | | | | | | PR libstdc++/47724 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat line anchors as metacharacters. * testsuite/28_regex/basic_regex/ctors/47724.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170236 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-02-174-0/+179
| | | | | | | | | | | | PR libstdc++/47773 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>, hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>, hash<__gnu_cxx::__u32vstring>): Add. * testsuite/ext/vstring/hash/char/1.cc: New. * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170235 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>redi2011-02-162-1/+6
| | | | | | | * include/bits/regex.h (match_results::format): Use char_traits. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170225 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-02-1615-1465/+769
| | | | | | | | | | | | * include/std/atomic: Remove atomic_address, uplift to N3225. * include/bits/atomic_0.h: Same. * include/bits/atomic_2.h: Same. * include/bits/atomic_base.h: Same. * testsuite/29_atomics/atomic_address/*: Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170217 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix class name in ChangeLog of previous commit, r170158.redi2011-02-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170159 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>redi2011-02-149-78/+152
| | | | | | | | | | | | | | | | | | | | | | | | * include/bits/regex.h (sub_match::sub_match): Add. (match_results::ready): Add. (match_results::empty): Adjust. (match_results::length): Add missing dereference. (match_results::operator[],prefix,suffix): Add debug mode checks. (match_results::cend): Re-use end(). (match_results::format): Adjust signatures. (operator==(match_results,match_results)): Implement. * include/bits/regex_compiler.h (_Scanner_base): Use constexpr. * include/bits/regex_constants.h (syntax_option_type): Likewise. * include/bits/regex_grep_matcher.h: Fix comment typo. (_Specialized_results::_Specialized_results): Simplify. * include/bits/regex_cursor.h: Fix comment typo. * include/bits/regex_nfa.h: Likewise. * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc: Fix error code, remove xfail. * testsuite/28_regex/basic_regex/ctors/extended/ string_range_01_02_03.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170158 138bc75d-0d04-0410-961f-82ee72b054a4