aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/rtti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c
index fa5f85c..0e72864 100644
--- a/gcc/cp/rtti.c
+++ b/gcc/cp/rtti.c
@@ -184,7 +184,7 @@ throw_bad_cast ()
static tree
throw_bad_typeid ()
{
- tree fn = get_identifier ("__throw_bad_cast");
+ tree fn = get_identifier ("__throw_bad_typeid");
if (IDENTIFIER_GLOBAL_VALUE (fn))
fn = IDENTIFIER_GLOBAL_VALUE (fn);
else