[google/integration] Enable lightweight debug checks (issue4402041)

Diego Novillo dnovillo@google.com
Wed Apr 13 00:39:00 GMT 2011


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.



More information about the Gcc-patches mailing list