This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR c++/10385: ICE on invalid dynamic_cast
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 19 Apr 2006 09:25:59 -0700
- Subject: Re: [patch] Fix PR c++/10385: ICE on invalid dynamic_cast
- References: <tkrat.09d45d44c2bf8723@igpm.rwth-aachen.de>
Volker Reichelt wrote:
> 2006-04-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
>
> PR c++/10385
> * rtti.c (build_dynamic_cast_1): Check for invalid conversions
> before calling convert_to_reference.
> * cvt.c (convert_to_reference): Assert that reftype is a
> REFERENCE_TYPE.
This is OK, thanks.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713