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
This commit is contained in:
Kazu Hirata 2005-05-11 16:06:36 +00:00 committed by Kazu Hirata
parent 9d6aab7ef8
commit 78f4111d6a
2 changed files with 3 additions and 5 deletions

View File

@ -2,6 +2,9 @@
* 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>
* config/arm/linux-elf.h (SUBTARGET_FRAME_POINTER_REQUIRED): Define.

View File

@ -189,8 +189,6 @@ forward_propagate_into_cond_1 (tree cond, tree *test_var_p)
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;
tree t;
@ -246,9 +244,6 @@ forward_propagate_into_cond_1 (tree cond, tree *test_var_p)
if (has_single_use (test_var))
{
/* 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),
boolean_type_node, op0, op1);