summaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-06 18:52:10 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-06 18:52:10 +0000
commit572f2d1c18b188403f95a2152904017715fc433d (patch)
treecd0cd7563c56c2ade9a8ce7ed1da8cca159732fb /gcc/expr.c
parentfc24120a544b82a3da838871c79083e03cabfd6a (diff)
downloadgcc-572f2d1c18b188403f95a2152904017715fc433d.tar.gz
* expr.c (expand_expr_real_1): Remove an "if" whose condition
is always false. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91786 138bc75d-0d04-0410-961f-82ee72b054a4
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 b5939ae626d..44b3c4a9fdf 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);