Commit 78f4111d by Kazu Hirata Committed by Kazu Hirata

tree-ssa-forwprop.c (forward_propagate_into_cond_1): Remove redundant code.

	* tree-ssa-forwprop.c (forward_propagate_into_cond_1): Remove
	redundant code.

From-SVN: r99583
parent 9d6aab7e
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
* fold-const.c, libgcov.c: Fix comment typos. * fold-const.c, libgcov.c: Fix comment typos.
* tree-ssa-forwprop.c (forward_propagate_into_cond_1): Remove
redundant code.
2005-05-11 Daniel Jacobowitz <dan@codesourcery.com> 2005-05-11 Daniel Jacobowitz <dan@codesourcery.com>
* config/arm/linux-elf.h (SUBTARGET_FRAME_POINTER_REQUIRED): Define. * config/arm/linux-elf.h (SUBTARGET_FRAME_POINTER_REQUIRED): Define.
......
...@@ -189,8 +189,6 @@ forward_propagate_into_cond_1 (tree cond, tree *test_var_p) ...@@ -189,8 +189,6 @@ forward_propagate_into_cond_1 (tree cond, tree *test_var_p)
if (has_single_use (test_var)) if (has_single_use (test_var))
{ {
tree op0 = TREE_OPERAND (def_rhs, 0);
tree op1 = TREE_OPERAND (def_rhs, 1);
enum tree_code new_code; enum tree_code new_code;
tree t; tree t;
...@@ -246,9 +244,6 @@ forward_propagate_into_cond_1 (tree cond, tree *test_var_p) ...@@ -246,9 +244,6 @@ forward_propagate_into_cond_1 (tree cond, tree *test_var_p)
if (has_single_use (test_var)) if (has_single_use (test_var))
{ {
/* TEST_VAR was set from a relational operator. */ /* TEST_VAR was set from a relational operator. */
tree op0 = TREE_OPERAND (def_rhs, 0);
tree op1 = TREE_OPERAND (def_rhs, 1);
new_cond = build (TREE_CODE (def_rhs), new_cond = build (TREE_CODE (def_rhs),
boolean_type_node, op0, op1); boolean_type_node, op0, op1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment