Go to file
Paolo Carlini bc9053abce re PR libstdc++/24617 (vector vs __erase_at_end)
2005-12-08  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_vector.h (vector<>::size, resize, capacity,
	operator[]): Avoid troubles with ADL, user defined operators
	and __normal_iterator.
	(_M_erase_at_end): Fix to take a pointer.
	(clear): Adjust call.
	* include/bits/vector.tcc (vector<>::insert(iterator, const
	value_type&), erase(iterator, iterator), operator=(const
	vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux,
	_M_fill_insert, _M_range_insert): Likewise.
	(_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust
	_M_erase_at_end call.
	* testsuite/23_containers/vector/types/1.cc: New.

2005-12-08  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/24617
	* include/bits/stl_vector.h (vector<>::_M_erase_at_end): New.
	(vector<>::clear, resize): Use it.
	* include/bits/vector.tcc (vector<>::erase(iterator, iterator),
	_M_fill_assign, _M_assign_aux): Likewise.

	* testsuite/23_containers/vector/modifiers/erase/1.cc: New.

From-SVN: r108227
2005-12-08 11:32:37 +00:00
boehm-gc
config configure.in (CONFIGURED_BISON, [...]): Remove "CONFIGURED_" from the AC_CHECK_PROGS invocation. 2005-12-05 15:00:27 +00:00
contrib * newcvsroot: Remove. 2005-12-08 08:38:02 +11:00
fastjar compress.c (write_data): Mark 'ze' as unused. 2005-11-29 21:46:02 +00:00
fixincludes Check the last byte for '\n' 2005-11-25 05:57:10 +00:00
gcc re PR middle-end/25248 (2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled) 2005-12-08 09:34:26 +00:00
gnattools
include
INSTALL
intl
libada Makefile.in (FLAGS_TO_PASS): Add GCC_FOR_TARGET. 2005-12-05 14:40:27 +00:00
libcpp cpplib.h (CPP_N_DFLOAT): New. 2005-12-07 10:13:15 +11:00
libdecnumber Makefile.in (clean): Remove stray reference to libcpp.a. 2005-12-05 10:50:48 +11:00
libffi ffitarget.h: Remove obsolete sgidefs.h include. 2005-12-07 14:56:38 +00:00
libgfortran format.c: Removing unused code. 2005-12-04 18:13:59 +00:00
libiberty
libjava parse.y (patch_new_array_init): Don't set length on array. 2005-12-06 02:30:11 +00:00
libmudflap libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if static library not supported. 2005-11-22 20:35:51 +00:00
libobjc
libssp
libstdc++-v3 re PR libstdc++/24617 (vector vs __erase_at_end) 2005-12-08 11:32:37 +00:00
maintainer-scripts * update_web_docs_svn: Set @srcdir in gcc-vers.texi. 2005-11-23 18:46:40 +00:00
zlib
ABOUT-NLS
ChangeLog * MAINTAINERS: Change email address. 2005-12-07 03:46:23 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess Sync config.{sub,guess} from upstream sources 2005-11-22 20:41:02 +00:00
config.rpath
config.sub Sync config.{sub,guess} from upstream sources 2005-11-22 20:41:02 +00:00
configure configure.in (CONFIGURED_BISON, [...]): Remove "CONFIGURED_" from the AC_CHECK_PROGS invocation. 2005-12-05 15:00:27 +00:00
configure.in configure.in (CONFIGURED_BISON, [...]): Remove "CONFIGURED_" from the AC_CHECK_PROGS invocation. 2005-12-05 15:00:27 +00:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS * MAINTAINERS: Change email address. 2005-12-07 03:46:23 +00:00
Makefile.def Start building libdecnumber at the top-level: 2005-11-29 18:44:59 +11:00
Makefile.in configure.in (CONFIGURED_BISON, [...]): Remove "CONFIGURED_" from the AC_CHECK_PROGS invocation. 2005-12-05 15:00:27 +00:00
Makefile.tpl configure.in (CONFIGURED_BISON, [...]): Remove "CONFIGURED_" from the AC_CHECK_PROGS invocation. 2005-12-05 15:00:27 +00:00
missing
mkdep
mkinstalldirs
move-if-change Import from Autoconf sources: 2005-11-21 13:21:37 +11:00
README
README.SCO
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.