diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2006-01-22 20:26:42 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2006-01-22 20:26:42 +0000 |
commit | a27b516f94c73993c7a2311b05f85b2eebf3ecb7 (patch) | |
tree | 764018b6514ba85bcc56028253c3bef52c271f42 /gcc | |
parent | 9384e67e4ae1ef2d74ec4eaf4deade9c79d657ab (diff) | |
download | gcc-a27b516f94c73993c7a2311b05f85b2eebf3ecb7.zip gcc-a27b516f94c73993c7a2311b05f85b2eebf3ecb7.tar.gz gcc-a27b516f94c73993c7a2311b05f85b2eebf3ecb7.tar.bz2 |
fix comment
From-SVN: r110094
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/rtti.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a4ff093..be2c231 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,9 @@ 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 * rtti.c (build_dynamic_cast): Reject dynamic_cast use if -fno-rtti. diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index e8cb52b..5a1b44b 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 ("%<dynamic_cast%> not permitted with -fno-rtti"); |