From: Gabriel Dos Reis Date: Sun, 22 Jan 2006 20:26:42 +0000 (+0000) Subject: fix comment X-Git-Tag: releases/gcc-4.2.0~4685 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a27b516f94c73993c7a2311b05f85b2eebf3ecb7;p=thirdparty%2Fgcc.git fix comment From-SVN: r110094 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a4ff093795d8..be2c231d7782 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2006-01-22 Gabriel Dos Reis + + * rtti.c (build_dynamic_cast): Fix comment. + 2006-01-22 Gabriel Dos Reis PR c++/10891 diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index e8cb52b9c55c..5a1b44b69445 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -699,8 +699,7 @@ build_dynamic_cast (tree type, tree expr) if (type == error_mark_node || expr == error_mark_node) return error_mark_node; - /* Use of dynamic_cast when -fno-rtti is a disaster waiting to happen. - See PR C++/10891. Reject. */ + /* Use of dynamic_cast when -fno-rtti is prohibited. */ if (!flag_rtti) { error ("% not permitted with -fno-rtti");