diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2004-07-06 20:01:10 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2004-07-06 20:01:10 +0000 |
commit | b89cd06e92185c6448ee8b9a1ee5992f0f60be60 (patch) | |
tree | af8894311d611109f29c553cb3925bb79c9c8093 /gcc/expr.c | |
parent | 3d3fa3a16c38ebdbc92d4953849b1655a8f8bc19 (diff) | |
download | gcc-b89cd06e92185c6448ee8b9a1ee5992f0f60be60.zip gcc-b89cd06e92185c6448ee8b9a1ee5992f0f60be60.tar.gz gcc-b89cd06e92185c6448ee8b9a1ee5992f0f60be60.tar.bz2 |
dojump.c (do_jump): REFERENCE_EXPR is dead.
2004-07-06 Daniel Berlin <dberlin@dberlin.org>
* dojump.c (do_jump): REFERENCE_EXPR is dead.
* expr.c (expand_expr_real_1): Ditto.
* tree-inline.c (estimate_num_insns_1): Ditto.
* tree-pretty-print.c (dump_generic_node): Ditto.
(op_symbol): Ditto.
* tree.def: Ditto.
From-SVN: r84165
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -6443,8 +6443,8 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, original_target = target; ignore = (target == const0_rtx || ((code == NON_LVALUE_EXPR || code == NOP_EXPR - || code == CONVERT_EXPR || code == REFERENCE_EXPR - || code == COND_EXPR || code == VIEW_CONVERT_EXPR) + || code == CONVERT_EXPR || code == COND_EXPR + || code == VIEW_CONVERT_EXPR) && TREE_CODE (type) == VOID_TYPE)); /* If we are going to ignore this result, we need only do something @@ -7503,7 +7503,6 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, case NON_LVALUE_EXPR: case NOP_EXPR: case CONVERT_EXPR: - case REFERENCE_EXPR: if (TREE_OPERAND (exp, 0) == error_mark_node) return const0_rtx; |