diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2013-03-27 03:22:31 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2013-03-27 03:22:31 +0000 |
commit | 591cb3cfede314495011b5e0a27b8739f0bca777 (patch) | |
tree | e1ab8eefdf089a9455047e232a0c46eecb19242d /gcc/cp/tree.c | |
parent | 6c74ff23008028116fa0ee942d2905e56a55fbab (diff) | |
download | gcc-591cb3cfede314495011b5e0a27b8739f0bca777.zip gcc-591cb3cfede314495011b5e0a27b8739f0bca777.tar.gz gcc-591cb3cfede314495011b5e0a27b8739f0bca777.tar.bz2 |
call.c (build_new_method_call_1): Use INDIRECT_REF_P.
* call.c (build_new_method_call_1): Use INDIRECT_REF_P.
* cvt.c (convert_to_void): Likewise.
* error.c (dump_expr): Likewise.
* mangle.c (write_expression): Likewise.
* parser.c (cp_parser_template_argument): Likewise.
* pt.c (convert_nontype_argument): Likewise.
(tsubst_copy_and_build): Likewise.
* rtti.c (build_typeid): Likewise.
* semantics.c (finish_call_expr): Likewise.
(finish_decltype_type): Likewise.
(build_data_member_initialization): Likewise.
* tree.c (is_dummy_object): Likewise.
* typeck.c (decay_conversion): Likewise.
(build_class_member_access_expr): Likewise.
(cp_build_addr_expr_1): Likewise.
(unary_complex_lvalue): Likewise.
(check_return_expr): Likewise.
* typeck2.c (cxx_readonly_error): Likewise.
From-SVN: r197132
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 0306db1..4159321 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -2879,7 +2879,7 @@ maybe_dummy_object (tree type, tree* binfop) int is_dummy_object (const_tree ob) { - if (TREE_CODE (ob) == INDIRECT_REF) + if (INDIRECT_REF_P (ob)) ob = TREE_OPERAND (ob, 0); return (TREE_CODE (ob) == NOP_EXPR && TREE_OPERAND (ob, 0) == void_zero_node); |