This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] debug mode
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: François Dumont <francois dot cppdevs at free dot fr>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 18 Aug 2010 15:17:16 +0200
- Subject: Re: [patch] debug mode
- References: <4C4F3C54.8020106@free.fr> <4C50900B.6030705@oracle.com> <4C53E2FD.5070206@free.fr> <4C545CB5.4090902@oracle.com> <4C545E6D.5050409@oracle.com> <4C6BD03E.1050706@free.fr> <4C6BDBFB.6000307@oracle.com> <4C6BDCBB.9090703@oracle.com>
On 08/18/2010 03:14 PM, Paolo Carlini wrote:
> OOps, I misread your patch, you are by and large already doing this. But
> we want to check debug-mode performance in this case, right? Thus, *in
> these specific cases*, I think the tests *should* #define _GLIBCXX_DEBUG.
>
Or *both* normal mode and debug-mode, useful for comparison: You can do
it in various ways, either duplicating the tests, one of each pair
defining _GLIBCXX_DEBUG and prefixed or suffixed debug in the name, or
in more sophisticated ways... up to you.
Paolo.