Go to file
François Dumont 77e0bf4e07 safe_unordered_base.h, [...]: New, support for unordered sequence safe local iterators.
2011-07-19  François Dumont  <francois.cppdevs@free.fr>

        * include/debug/safe_unordered_base.h, safe_unordered_sequence.h,
        safe_unordered_sequence.tcc, safe_local_iterator.h,
        safe_local_iterator.tcc: New, support for unordered sequence safe
        local iterators.
        * include/Makefile.am: Add previous files.
        * include/Makefile.in: Regenerate.
        * include/debug/unordered_map, unordered_set: Implement
        _Safe_unordered_sequence and expose _Safe_local_iterator.
        * include/debug/safe_iterator.h, safe_iterator.tcc: Refactor
        _Safe_iterator::_M_get_distance static method to expose it as
        __get_distance function and use it in _Safe_local_iterator type.
        * include/debug/formatter.h: Add __msg_local_iter_compare_bad
        _Debug_msg_id enum entry to notify invalid comparison between local
        iterators from different buckets. Add _Parameter constructor from
        _Safe_local_iterator.
        * include/debug/functions.h: Add __valid_range overload for
        _Safe_local_iterator.
        * src/debug.cc: Add _Safe_unordered_sequence_base and
        _Safe_local_iterator_base methods implementations.
        * config/abi/pre/gnu.ver: Add export of some
        _Safe_unordered_sequence_base and _Safe_local_iterator_base methods.
        * testsuite/util/debug/checks.h: Add use_invalid_iterator function to
        simulate use of a singular iterator.
        * testsuite/util/debug/unordered_checks.h: New, several functions
        to simulate classic invalid usage of unordered sequence local
        iterators.
        * testsuite/23_containers/unordered_map/debug/
        use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
        use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
        invalid_local_iterator_compare_neg.cc: New.
        * testsuite/23_containers/unordered_multimap/debug/
        use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
        use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
        invalid_local_iterator_compare_neg.cc: New.
        * testsuite/23_containers/unordered_set/debug/
        use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
        use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
        invalid_local_iterator_compare_neg.cc: New.
        * testsuite/23_containers/unordered_multiset/debug/
        use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
        use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
        invalid_local_iterator_compare_neg.cc: New.

From-SVN: r176487
2011-07-19 19:39:45 +00:00
boehm-gc re PR bootstrap/39150 (Configure scripts have no 64-Bit Solaris defined (only i386-solaris*).) 2011-07-07 09:24:16 +00:00
config re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables) 2011-07-18 11:04:18 +00:00
contrib re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables) 2011-07-18 11:04:18 +00:00
fixincludes
gcc configure.ac: Add --enable-build-poststage1-with-cxx. 2011-07-19 18:33:25 +00:00
gnattools re PR bootstrap/39150 (Configure scripts have no 64-Bit Solaris defined (only i386-solaris*).) 2011-07-07 09:24:16 +00:00
include 2012011-07-13 Sriraman Tallam <tmsriram@google.com> 2011-07-14 01:44:11 +00:00
INSTALL
intl
libada
libcpp Use source_location where it is due 2011-07-15 23:34:02 +02:00
libdecnumber
libffi ffi.c (FFI_INIT_TRAMPOLINE): Clear icache. 2011-07-11 17:50:04 +00:00
libgcc re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables) 2011-07-18 11:04:18 +00:00
libgfortran mpi.c (caf_runtime_error): Change fprintf to vfprintf. 2011-07-15 22:39:03 +00:00
libgo libgo/testsuite/gotest: Run tests in source file order. 2011-07-13 01:04:50 +00:00
libgomp re PR target/49541 (TLS support partially broken in 64-bit mode) 2011-07-18 12:09:18 +00:00
libiberty cp-demangle.c (d_expression): Handle 'this'. 2011-07-04 17:44:11 -04:00
libjava interpret.cc (check_handler): Fix bit rot. 2011-07-12 12:56:50 +00:00
libmudflap re PR testsuite/49753 (FAIL: g++.dg/torture/pr49309.C) 2011-07-15 21:48:46 +02:00
libobjc
libquadmath
libssp
libstdc++-v3 safe_unordered_base.h, [...]: New, support for unordered sequence safe local iterators. 2011-07-19 19:39:45 +00:00
lto-plugin
maintainer-scripts update_version_svn (IGNORE_BRANCHES): Add gcc-4_3-branch. 2011-06-27 11:05:50 +00:00
zlib
ABOUT-NLS
ChangeLog configure.ac: Add --enable-build-poststage1-with-cxx. 2011-07-19 18:33:25 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure configure.ac: Add --enable-build-poststage1-with-cxx. 2011-07-19 18:33:25 +00:00
configure.ac configure.ac: Add --enable-build-poststage1-with-cxx. 2011-07-19 18:33:25 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS (Register Allocation): Move myself from reviewers to maintainers. 2011-07-19 15:17:52 +00:00
Makefile.def Makefile.def (language=c++): Add check-c++0x and check-target-libmudflap-c++. 2011-07-16 23:34:13 -04:00
Makefile.in configure.ac: Add --enable-build-poststage1-with-cxx. 2011-07-19 18:33:25 +00:00
Makefile.tpl configure.ac: Add --enable-build-poststage1-with-cxx. 2011-07-19 18:33:25 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with 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/ for how to report bugs usefully.