This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [google/integration] Enable lightweight debug checks (issue4402041)
- From: Diego Novillo <dnovillo at google dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: reply at codereview dot appspotmail dot com, gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 Apr 2011 20:39:26 -0400
- Subject: Re: [google/integration] Enable lightweight debug checks (issue4402041)
- References: <20110412225653.A170D190B0B@elbrus2.mtv.corp.google.com>
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.