diff options
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r-- | gcc/cp/rtti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 898db00..469ce51 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -228,7 +228,7 @@ get_tinfo_decl_dynamic (tree exp) tree type; tree t; - if (exp == error_mark_node) + if (error_operand_p (exp)) return error_mark_node; /* peel back references, so they match. */ |