On Tue, Apr 12, 2011 at 18:56, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
> This patch adds lightweight debug checks (if enabled by macros).
>
> To be applied only to google/integration branch.
>
> Tested by bootstrapping and running "make check".
>
>
> 2011-04-12 Paul Pluzhnikov <ppluzhnikov@google.com>
>
> * libstdc++-v3/include/ext/vstring.h: Enable debug checks when
> __google_stl_debug_string is 1.
> * libstdc++-v3/include/ext/sso_string_base.h: Scribble on
> logically-dangling storage when __google_stl_debug_string_dangling
> is 1.
> * libstdc++-v3/include/bits/stl_vector.h: Enable debug checks when
> __google_stl_debug_vector is 1.
> *
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
> Adjust line number.
> *
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewize.
> *
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc:
Likewize.
> *
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc:
Likewize.
s/Likewize/Likewise/
OK with those changes. Could you please cherrypick into google/main
and google/gcc-4_6 as well?
Diego.
Issue 4402041: [google/integration] Enable lightweight debug checks
(Closed)
Created 14 years ago by ppluzhnikov
Modified 14 years ago
Reviewers: Diego Novillo
Base URL: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration/
Comments: 0