aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-12-06 18:52:10 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-12-06 18:52:10 +0000
commitc4cfdac0e6d0009e99c04b3466dd0f30acb5b49f (patch)
treecd0cd7563c56c2ade9a8ce7ed1da8cca159732fb /gcc/expr.c
parent6e07ee6da03f7abe490b7bee89ba3270b48fe531 (diff)
downloadgcc-c4cfdac0e6d0009e99c04b3466dd0f30acb5b49f.zip
gcc-c4cfdac0e6d0009e99c04b3466dd0f30acb5b49f.tar.gz
gcc-c4cfdac0e6d0009e99c04b3466dd0f30acb5b49f.tar.bz2
expr.c (expand_expr_real_1): Remove an "if" whose condition is always false.
* expr.c (expand_expr_real_1): Remove an "if" whose condition is always false. From-SVN: r91786
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index b5939ae..44b3c4a 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -6507,12 +6507,6 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode,
expand_expr (TREE_OPERAND (exp, 1), const0_rtx, VOIDmode, modifier);
return const0_rtx;
}
- else if ((code == TRUTH_ANDIF_EXPR || code == TRUTH_ORIF_EXPR)
- && ! TREE_SIDE_EFFECTS (TREE_OPERAND (exp, 1)))
- /* If the second operand has no side effects, just evaluate
- the first. */
- return expand_expr (TREE_OPERAND (exp, 0), const0_rtx, VOIDmode,
- modifier);
else if (code == BIT_FIELD_REF)
{
expand_expr (TREE_OPERAND (exp, 0), const0_rtx, VOIDmode, modifier);