This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32525] Request for new warning: useless dynamic_casts
- From: "gdr at cs dot tamu dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2007 13:02:39 -0000
- Subject: [Bug c++/32525] Request for new warning: useless dynamic_casts
- References: <bug-32525-6477@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from gdr at cs dot tamu dot edu 2007-07-14 13:02 -------
Subject: Re: Request for new warning: useless dynamic_casts
"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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32525