From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23590 invoked by alias); 12 Jun 2013 16:38:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 23504 invoked by uid 48); 12 Jun 2013 16:38:39 -0000 From: "abel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57599] g++ accepts invalid assignment of a dynamic_cast to A* Date: Wed, 12 Jun 2013 16:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: abel at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg00648.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57599 Andrey Belevantsev 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 to | |A* --- Comment #2 from Andrey Belevantsev --- Sorry, I tried to fix the summary. Feel free to improve it more if needed :)