This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57599] g++ accepts invalid assignment of a dynamic_cast<const A*> to A*
- From: "abel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Jun 2013 16:38:39 +0000
- Subject: [Bug c++/57599] g++ accepts invalid assignment of a dynamic_cast<const A*> to A*
- Auto-submitted: auto-generated
- References: <bug-57599-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57599
Andrey Belevantsev <abel at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|g++ accepts invalid |g++ accepts invalid
|dynamic_cast of a const |assignment of a
|type to a regular type |dynamic_cast<const A*> to
| |A*
--- Comment #2 from Andrey Belevantsev <abel at gcc dot gnu.org> ---
Sorry, I tried to fix the summary. Feel free to improve it more if needed :)