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: "sebor at roguewave dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2007 00:03:59 -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 #7 from sebor at roguewave dot com 2007-07-15 00:03 -------
In cases when the compiler can figure out that the cast is unnecessary it would
be even better if it would optimize it away than to complain to the user about
not being able to do it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32525