]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
fix comment
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 22 Jan 2006 20:26:42 +0000 (20:26 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 22 Jan 2006 20:26:42 +0000 (20:26 +0000)
From-SVN: r110094

gcc/cp/ChangeLog
gcc/cp/rtti.c

index a4ff093795d8ef155e5be268a1ec0b12e9a13861..be2c231d77829d6949d33e0642a214b2ac0692e5 100644 (file)
@@ -1,3 +1,7 @@
+2006-01-22  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * rtti.c (build_dynamic_cast): Fix comment.
+
 2006-01-22  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        PR c++/10891
index e8cb52b9c55c8c02490b35ad776c41204034e483..5a1b44b69445404253e405fb3c9bc9a2ac1fda2c 100644 (file)
@@ -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 ("%<dynamic_cast%> not permitted with -fno-rtti");