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
This commit is contained in:
parent
3d3fa3a16c
commit
b89cd06e92
|
@ -1,5 +1,14 @@
|
|||
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.
|
||||
|
||||
2004-07-06 Daniel Berlin <dberlin@dberlin.org>
|
||||
|
||||
* tree-ssa-pre.c (reference_node_pool): New pool.
|
||||
(find_or_generate_expression): Class 'r' is okay too.
|
||||
(create_value_expr_from): Ditto.
|
||||
|
@ -7,7 +16,7 @@
|
|||
(eliminate): Ditto.
|
||||
(compute_avail): Reverse ordering of tests.
|
||||
Valuize INDIRECT_REF as well.
|
||||
|
||||
|
||||
2004-07-06 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
PR rtl-optimization/16380
|
||||
|
|
|
@ -208,7 +208,6 @@ do_jump (tree exp, rtx if_false_label, rtx if_true_label)
|
|||
< TYPE_PRECISION (TREE_TYPE (TREE_OPERAND (exp, 0)))))
|
||||
goto normal;
|
||||
case NON_LVALUE_EXPR:
|
||||
case REFERENCE_EXPR:
|
||||
case ABS_EXPR:
|
||||
case NEGATE_EXPR:
|
||||
case LROTATE_EXPR:
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1211,7 +1211,6 @@ estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data)
|
|||
case SAVE_EXPR:
|
||||
case UNSAVE_EXPR:
|
||||
case ADDR_EXPR:
|
||||
case REFERENCE_EXPR:
|
||||
case COMPLEX_EXPR:
|
||||
case EXIT_BLOCK_EXPR:
|
||||
case CASE_LABEL_EXPR:
|
||||
|
|
|
@ -999,7 +999,6 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
|
|||
case BIT_NOT_EXPR:
|
||||
case TRUTH_NOT_EXPR:
|
||||
case ADDR_EXPR:
|
||||
case REFERENCE_EXPR:
|
||||
case PREDECREMENT_EXPR:
|
||||
case PREINCREMENT_EXPR:
|
||||
case INDIRECT_REF:
|
||||
|
@ -1851,9 +1850,6 @@ op_symbol (tree op)
|
|||
case POSTINCREMENT_EXPR:
|
||||
return "++ ";
|
||||
|
||||
case REFERENCE_EXPR:
|
||||
return "";
|
||||
|
||||
default:
|
||||
return "<<< ??? >>>";
|
||||
}
|
||||
|
|
|
@ -739,9 +739,6 @@ DEFTREECODE (UNSAVE_EXPR, "unsave_expr", 'e', 1)
|
|||
Operand may have any mode. Result mode is Pmode. */
|
||||
DEFTREECODE (ADDR_EXPR, "addr_expr", 'e', 1)
|
||||
|
||||
/* Non-lvalue reference or pointer to an object. */
|
||||
DEFTREECODE (REFERENCE_EXPR, "reference_expr", 'e', 1)
|
||||
|
||||
/* Operand is a function constant; result is a function variable value
|
||||
of type EPmode. Used only for languages that need static chains. */
|
||||
DEFTREECODE (ENTRY_VALUE_EXPR, "entry_value_expr", 'e', 1)
|
||||
|
|
Loading…
Reference in New Issue