mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 14:19:15 +08:00
fix comment
From-SVN: r110094
This commit is contained in:
parent
9384e67e4a
commit
a27b516f94
@ -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
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user