This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c++/32525] Request for new warning: useless dynamic_casts
- From: Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2007 08:06:23 -0500
- Subject: Re: [Bug c++/32525] Request for new warning: useless dynamic_casts
- References: <bug-32525-6477@http.gcc.gnu.org/bugzilla/> <20070627190648.19717.qmail@sourceware.org>
"lloyd at randombit dot net" <gcc-bugzilla@gcc.gnu.org> writes:
| I think that's a good definition. My impression is that dynamic_cast is fairly
| expensive,
well, I don't think GCC should be getting into the business of warning
about expensive operations.
-- Gaby