gcc/libstdc++-v3
Jonathan Wakely 375f837be1 re PR libstdc++/49561 ([C++0x] std::list::size complexity)
PR libstdc++/49561
	* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_CXX11_ABI): Define.
	* configure.ac: Use GLIBCXX_ENABLE_LIBSTDCXX_CXX11_ABI.
	* configure: Regenerate.
	* include/Makefile.am (stamp-cxx11-abi): New target.
	(c++config.h): Set _GLIBCXX_USE_CXX11_ABI macro.
	* include/Makefile.in: Regenerate.
	* include/bits/c++config: Add _GLIBCXX_USE_CXX11_ABI placeholder and
	define _GLIBCXX_DEFAULT_ABI_TAG.
	* include/bits/list.tcc (list::emplace(const_iterator, _Args&...)):
	Increment size.
	(list::emplace(const_iterator, const value_type&)): Likewise.
	(list::merge(list&), list::merge(list&, _StrictWeakOrdering)): Adjust
	list sizes.
	* include/bits/stl_list.h (_List_base, list): Add ABI tag macro.
	(_List_base::_M_size): New data member in cxx11 ABI mode.
	(_List_base::_S_distance(_List_node_base*, _List_node_base*)): New
	function.
	(_List_base::_M_get_size(), _List_base::_M_set_size(size_t),
	_List_base::_M_inc_size(size_t), _List_base::_M_dec_size(size_t),
	_List_base::_M_distance, _List_base::_M_node_count): New functions for
	accessing list size correctly for the ABI mode.
	(_List_base::_List_base(_List_base&&)): Copy size and reset source.
	(_List_base::_M_init()): Initialize size member.
	(list::size()): Use _List_base::_M_node_count.
	(list::swap(list&)): Swap sizes.
	(list::splice(iterator, list&)): Update sizes.
	(list::splice(iterator, list&, iterator)): Likewise.
	(list::insert(iterator, const value_type&)): Update size.
	(list::insert(iterator, _Args&&...)): Likewise.
	(list::_M_erase(iterator)): Likewise.
	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
	Adjust.
	* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
	Adjust.
	* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
	Adjust.
	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
	Adjust.
	* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust.

From-SVN: r216094
2014-10-10 16:33:57 +01:00
..
config baseline_symbols.txt: New file. 2014-09-29 22:35:22 +00:00
doc status_cxx2011.xml: Update. 2014-10-09 19:17:07 +01:00
include re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2014-10-10 16:33:57 +01:00
libsupc++ dyncast.cc (__dynamic_cast): Handle mid-destruction dynamic_cast more gracefully. 2014-09-18 08:34:43 -04:00
po Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
python printers.py (StdDebugIteratorPrinter.to_string): Adapt to latest modifications on debug iterators. 2014-10-01 19:24:23 +00:00
scripts bool_set: Use UTF-8 for accented characters. 2014-05-29 15:04:43 +01:00
src locale_facets.tcc (num_put::_M_insert_float): Do not pass precision when using hexfloat format. 2014-10-08 14:25:30 +01:00
testsuite re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2014-10-10 16:33:57 +01:00
ChangeLog re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2014-10-10 16:33:57 +01:00
ChangeLog-1998 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-1999 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2000 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2001 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2002 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2003 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2004 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2005 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2006 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2007 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2008 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2009 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2010 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2011 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2013 * ChangeLog-2013: Correct an old entry. 2014-05-26 23:49:19 +02:00
Makefile.am Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
Makefile.in Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
README
acinclude.m4 re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2014-10-10 16:33:57 +01:00
aclocal.m4 acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Remove ENABLE_PARALLEL. 2012-09-28 19:48:27 +00:00
config.h.in acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam function. 2014-01-23 21:17:15 +00:00
configure re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2014-10-10 16:33:57 +01:00
configure.ac re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2014-10-10 16:33:57 +01:00
configure.host configure.host (abi_baseline_pair): If try_cpu is generic use host_cpu for the default. 2014-09-29 22:33:41 +00:00
crossconfig.m4 Remove obsolete Solaris 9 support 2014-04-22 12:30:59 +00:00
fragment.am Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
linkage.m4 linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New. 2013-02-11 12:50:13 -05:00

README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.