[patch] Fix PR c++/10385: ICE on invalid dynamic_cast
Mark Mitchell
mark@codesourcery.com
Wed Apr 19 16:26:00 GMT 2006
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
More information about the Gcc-patches
mailing list