This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Debug functions review
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: François Dumont <frs dot dumont at gmail dot com>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 23 Oct 2013 00:37:07 +0200
- Subject: Re: Debug functions review
- Authentication-results: sourceware.org; auth=none
- References: <5266E4D0 dot 9010906 at gmail dot com>
Hi,
"FranÃois Dumont" <frs.dumont@gmail.com> ha scritto:
>Hi
>
> Here is a patch to clean up a little some debug functions. I got
>rid of the __check_singular_aux, simply playing with __check_singular
>overloads was enough. I also added the missing __check_dereferenceable
>for safe local iterators.
This is probably straightforward but I want to be sure I understand your previous message + this one: do they mean that in some cases, due to that missing 'const', we weren't catching non-dereferenceable iterators? Thus, should we also add a testcase?
Paolo