summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/backward
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright years.jakub2015-01-0511-11/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219188 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in libstdc++-v3/rsandifo2014-01-0211-11/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206301 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright in libstdc++-v3.rsandifo2013-02-0311-11/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195701 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/49060ian2011-05-251-0/+35
| | | | | | | | | | * include/backward/hashtable.h (hashtable::erase): Don't crash if erasing first and another element with a reference to the other element. * testsuite/backward/hash_set/49060.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174240 138bc75d-0d04-0410-961f-82ee72b054a4
* Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.jakub2009-04-0911-77/+42
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145841 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/backward/hashtable.h (erase): Correctly handle erasing aian2009-04-082-0/+321
| | | | | | | | | reference to an entry in the hash table. * testsuite/backward/hash_map/25896.cc: New. * testsuite/backward/hash_set/25896.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145788 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-10-18 Benjamin Kosnik <bkoz@redhat.com>bkoz2007-10-1811-158/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/ext/hash_map: To... * include/backward/hash_map: ...here. Remove debug mode. * include/ext/hash_set: To... * include/backward/hash_set: ...here. Remove debug mode. * include/ext/hash_fun.h: To... * include/backward/hash_fun.h: ...here. * include/ext/hashtable.h: To... * include/backward/hashtable.h: ...here. * include/bits/c++config: Remove __gnu_cxx namespace from debug mode. * include/debug/debug.h: Same. * include/debug/hash_map: Remove. * include/debug/hash_multimap.h: Remove. * include/debug/hash_set.h: Remove. * include/debug/hash_set: Remove. * include/debug/hash_multiset.h: Remove. * include/debug/hash_map.h: Remove. * include/Makefile.am (ext_headers): Move hash_set, hash_map to backward. (debug_headers): Remove hash_map, hash_set, hash_map.h, hash_map.h, hash_multiset.h, hash_multimap.h. * include/Makefile.in: Regenerate. * docs/html/debug.html: Update. * docs/html/ext/howto.html: Same. * docs/html/faq/index.html: Same. * docs/doxygen/Intro.3: Same. * docs/doxygen/user.cfg.in: Adjust includes. * testsuite/ext/hash_map: Move to... * testsuite/backward/hash_map: ...here. * testsuite/ext/hash_set: Move to... * testsuite/backward/hash_set: ...here. 2007-10-18 Benjamin Kosnik <bkoz@redhat.com> Removal of pre-ISO C++ items from include/backwards. * include/Makefile.am (backward_headers): Remove all but strstream, backward_warning.h. * include/Makefile.in: Regenerate. * include/backward/new.h: Remove. * include/backward/iterator.h: Same. * include/backward/alloc.h: Same. * include/backward/set.h: Same. * include/backward/hashtable.h: Same. * include/backward/hash_set.h: Same. * include/backward/fstream.h: Same. * include/backward/tempbuf.h: Same. * include/backward/istream.h: Same. * include/backward/bvector.h: Same. * include/backward/stack.h: Same. * include/backward/rope.h: Same. * include/backward/complex.h: Same. * include/backward/ostream.h: Same. * include/backward/heap.h: Same. * include/backward/iostream.h: Same. * include/backward/function.h: Same. * include/backward/multimap.h: Same. * include/backward/pair.h: Same. * include/backward/stream.h: Same. * include/backward/iomanip.h: Same. * include/backward/slist.h: Same. * include/backward/tree.h: Same. * include/backward/vector.h: Same. * include/backward/deque.h: Same. * include/backward/multiset.h: Same. * include/backward/defalloc.h: Same. * include/backward/list.h: Same. * include/backward/map.h: Same. * include/backward/algobase.h: Same. * include/backward/hash_map.h: Same. * include/backward/algo.h: Same. * include/backward/queue.h: Same. * include/backward/streambuf.h: Same. * testsuite/backward/header_hash_set_h.cc: Same. * testsuite/backward/header_slist_h.cc: Same. * testsuite/backward/header_hash_map_h.cc: Same. * testsuite/backward/header_tempbuf_h.cc: Same. * testsuite/backward/header_deque_h.cc: Same. * testsuite/backward/header_rope_h.cc: Same. * testsuite/backward/header_iterator_h.cc: Same. * testsuite/backward/header_hashtable_h.cc: Same. 2007-10-18 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/30085 * include/debug/unordered_map: New. * include/debug/unordered_set: New. * include/debug/safe_association.h: New. * include/std/unordered_map: Include debug header if _GLIBCXX_DEBUG. * include/std/unordered_set: Same. * include/Makefile.am (debug_headers): Add unordered_map, unordered_set, safe_association.h. * include/Makefile.in: Regenerate. * testsuite/23_containers/unordered_map/requirements/debug.cc: New. * testsuite/23_containers/unordered_multimap/requirements/ debug.cc: New. * testsuite/23_containers/unordered_set/requirements/debug.cc: New. * testsuite/23_containers/unordered_multiset/requirements/ debug.cc: New. 2007-10-18 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Remove hash_map include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129442 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>kcook2005-08-1710-10/+10
| | | | | | | * All files: Update FSF address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103192 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-04 Paolo Carlini <pcarlini@suse.de>paolo2004-03-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to CXXFLAGS_save. * testsuite/lib/libstdc++.exp: Don't add it conditionally to DEFAULT_CXXFLAGS. * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT" from the dg-options. * testsuite/23_containers/vector/invalidation/1.cc: Likewise. * testsuite/23_containers/vector/invalidation/2.cc: Likewise. * testsuite/23_containers/vector/invalidation/3.cc: Likewise. * testsuite/23_containers/vector/invalidation/4.cc: Likewise. * testsuite/23_containers/vector/resize/1.cc: Likewise. * testsuite/26_numerics/complex_value.cc: Likewise. * testsuite/27_io/ios_base/storage/1.cc: Likewise. * testsuite/27_io/ios_base/storage/2.cc: Likewise. * testsuite/27_io/ios_base/storage/3.cc: Likewise. * testsuite/27_io/manipulators/standard/char/2.cc: Likewise. * testsuite/27_io/objects/char/5.cc: Likewise. * testsuite/27_io/objects/wchar_t/5.cc: Likewise. * testsuite/backward/11460.cc: Likewise. * testsuite/thread/pthread7-rope.cc: Likewise. * testsuite/21_strings/basic_string/compare/char/1.cc: Add missing test variable. * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add missing test variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78942 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-12-22 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-12-222-4/+2
| | | | | | | | | | | | | | | | | | | | | | * testsuite/18_support/numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY. * testsuite/23_containers/vector/invalidation/1.cc: Same. * testsuite/23_containers/vector/invalidation/2.cc: Same. * testsuite/23_containers/vector/invalidation/3.cc: Same. * testsuite/23_containers/vector/invalidation/4.cc: Same. * testsuite/23_containers/vector/resize/1.cc: Same. * testsuite/26_numerics/complex_value.cc: Same. * testsuite/27_io/ios_base/storage/1.cc: Same. * testsuite/27_io/ios_base/storage/2.cc: Same. * testsuite/27_io/ios_base/storage/3.cc: Same. * testsuite/27_io/manipulators/standard/char/2.cc: Same. * testsuite/backward/11460.cc: Same. * testsuite/backward/strstream_members.cc: Same. * include/ext/hash_set (class hash_multiset): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74951 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-12 Petur Runolfsson <peturr02@ru.is>paolo2003-10-121-0/+73
| | | | | | | | | | | Paolo Carlini <pcarlini@unitus.it> PR libstdc++/11460 * src/strstream.cc (pbackfail): Fix to use to_int_type. * testsuite/backward/11460.cc: New, from the PR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72405 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-09-231-3/+2
| | | | | | | | | * include/bits/locale_facets.tcc: Tweak to avoid warnings. * testsuite/testsuite_hooks.h: Same. * testsuite/*/*.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71693 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-08-021-1/+10
| | | | | | | | | | | | | | | | | | | | Revert PR libstdc++/6594 * src/strstream.cc (strstreambuf): Revert. (strstreambuf::overflow): Same. (strstreambuf::~strstreambuf): Same. * testsuite/backward/strstream_members.cc (test02): Add. * docs/html/abi.txt: Update. Spell check. * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test. * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES. * testsuite/Makefile.in: Regenerate. * testsuite/testsuite_hooks.h: Use __throw_exception_again, include functexcept.h so that -fno-exceptions will build. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55988 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-07-251-2/+2
| | | | | | | | | | | | | | | PR libstdc++/7230 * config/linker-map.gnu: Revert strstream patch from 2002-07-01. * include/Makefile.am (backward_headers): Use strstream, not strstream.h. * include/Makefile.in: Regenerate. * include/backward/strstream: Revert. * include/backward/strstream.h: Remove. * src/strstream.cc: Revert. * testsuite/backward/strstream_members.cc: Change include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55730 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-08 Paolo Carlini <pcarlini@unitus.it>bkoz2002-06-081-0/+40
| | | | | | | | | | | | | | | | | * testsuite/backwards/strstream_members.cc: New. 2002-06-08 Benjamin Kosnik <bkoz@redhat.com> * include/backwards/strstream: Format. * src/strstream.cc: Format. 2002-06-08 Andreas Schwab <schwab@suse.de> * src/strstream.cc (strstreambuf::overflow): Set _M_buf, _M_buf_size and _M_buf_size_opt to the new buffer and size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54375 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-15 Philipp Thomas <pthomas@suse.de>pthomas2002-03-186-0/+186
| | | | | | | | | | | | | | | | | | | | | | * include/backward/hash_map.h: hash, hashtable, hash_map and hash_multimap are in namespace __gnu_cxx. include/backward/hash_set.h: hash, hashtable, hash_set and hash_multiset are in namespace __gnu_cxx. include/backward/hashtable.h: hash and hashtable are in namespace __gnu_cxx. include/backward/rope.h: char_producer, sequence_buffer, rope, crope and wrope are in namespace __gnu_cxx. include/backward/slist.h: slist is in namespace __gnu_cxx. * testsuite/backward/header_hash_map_h.cc testsuite/backward/header_hash_set_h.cc testsuite/backward/header_hashtable_h.cc testsuite/backward/header_rope_h.cc testsuite/backward/header_slist_h.cc testsuite/backward/header_tempbuf_h.cc: New tests for checking that we're using the correct namespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50956 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-11-282-2/+2
| | | | | | | | | | | | * include/bits/locale_facets.tcc: Formatting tweaks. * testsuite/23_containers/map_operators.cc: Don't xfail. * testsuite/23_containers/set_operators.cc: Same. * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated. * testsuite/backward/header_deque_h.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47401 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-09-20 Scott Johnston <scott@accom.com>bkoz2001-09-201-0/+31
| | | | | | | | | | | | | | | Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> * include/backward/alloc.h: Conditionally define malloc_alloc * testsuite/backward/header_deque_h.cc: New file. 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr> * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put): change variable name so that it works with -fno-for-scope. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45704 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-09-04 Scott Johnston <scott@accom.com>bkoz2001-09-041-0/+31
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> * include/backward/iterator.h: Include <bits/std_iterator.h>, remove reverse_bidirectional_iterator. * testsuite/backward: New directory. * testsuite/backward/header_iterator_h.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45389 138bc75d-0d04-0410-961f-82ee72b054a4