gcc/libstdc++-v3
Jonathan Wakely 1319041924 Avoid reallocation for basic_string::clear()
PR libstdc++/56166
	PR libstdc++/77582
	* include/bits/basic_string.h (basic_string::clear()): Drop reference
	and use empty rep.
	* include/ext/rc_string_base.h (__rc_string_base::_M_clear()):
	Likewise.
	* testsuite/21_strings/basic_string/56166.cc: New.
	* testsuite/ext/vstring/modifiers/clear/56166.cc: New.

From-SVN: r240447
2016-09-23 18:25:34 +01:00
..
config [RTEMS] Always use atomic builtins for libstdc++ 2016-09-23 06:58:00 +00:00
doc Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
include Avoid reallocation for basic_string::clear() 2016-09-23 18:25:34 +01:00
libsupc++ Replace modulus with mask operation in over-aligned new 2016-09-16 19:09:14 +01:00
po Update copyright years. 2016-01-04 15:30:50 +01:00
python Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
scripts Add -fno-show-column to libstdc++ test flags 2016-08-02 20:34:15 +01:00
src ops.cc: Always include ostream and ext/stdio_filebuf.h. 2016-08-15 13:40:37 +02:00
testsuite Avoid reallocation for basic_string::clear() 2016-09-23 18:25:34 +01:00
acinclude.m4 [RTEMS] Always use atomic builtins for libstdc++ 2016-09-23 06:58:00 +00:00
aclocal.m4 libstdc++: Bump to automake 1.11.6 2015-05-13 10:51:03 +00:00
ChangeLog Avoid reallocation for basic_string::clear() 2016-09-23 18:25:34 +01:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014 Rotate libstdc++-v3/ChangeLog 2015-01-02 16:50:36 +00:00
ChangeLog-2015 Update copyright years. 2016-01-04 15:30:50 +01:00
config.h.in Implement P0035R4, C++17 new of over-aligned types. 2016-09-09 17:22:15 -04:00
configure * configure.ac: Define HAVE_MEMALIGN for newlib. 2016-09-23 10:34:51 -04:00
configure.ac * configure.ac: Define HAVE_MEMALIGN for newlib. 2016-09-23 10:34:51 -04:00
configure.host [RTEMS] Always use atomic builtins for libstdc++ 2016-09-23 06:58:00 +00:00
crossconfig.m4 remove knetbsd support 2016-06-21 21:57:30 +00:00
fragment.am libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
linkage.m4
Makefile.am Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00: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.