fix comment

From-SVN: r110094
This commit is contained in:
Gabriel Dos Reis 2006-01-22 20:26:42 +00:00 committed by Gabriel Dos Reis
parent 9384e67e4a
commit a27b516f94
2 changed files with 5 additions and 2 deletions

View 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

View 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");