summaryrefslogtreecommitdiff
path: root/gcc/dojump.c
diff options
context:
space:
mode:
authortomby <tomby@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-23 12:50:17 +0000
committertomby <tomby@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-23 12:50:17 +0000
commit6a2b2394be08730c00bfa05bfe4e319d0ced7ac6 (patch)
treefc970abad33f221b6b9b0e13eae65c93c720eb12 /gcc/dojump.c
parent4aede81643b2ed590f77d34338c45810c4bb141b (diff)
downloadgcc-6a2b2394be08730c00bfa05bfe4e319d0ced7ac6.tar.gz
* tree-cfg.c (verify_expr): Check for NON_LVALUE_EXPR as
unreachable case. * tree-vrp.c (extract_range_from_unary_expr): Removed unused NON_LVALUE_EXPR. * tree-ssa-threadedge.c (simplify_control_stmt_condition): Likewise. * tree-ssa-structalias.c (get_constraint_for): Likewise. * tree-inline.c (estimate_num_insns_1): Likewise. * varasm.c (const_hash_1, compare_constant, copy_constant) (compute_reloc_for_constant, output_addressed_constants): Likewise. * emit-rtl.c (component_ref_for_mem_expr) (set_mem_attributes_minus_bitpos): Likewise. * expr.c (highest_pow2_factor, expand_expr_real_1, ) (is_aligning_offset): Likewise. * dwarf2out.c (loc_descriptor_from_tree_1, add_bound_info): Likewise. * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Likewise. * dojump.c (do_jump): Likewise. * builtins.c (get_pointer_alignment, get_memory_rtx) (integer_valued_real_p, fold_builtin_next_arg): Likewise. * tree-scalar-evolution.c (instantiate_parameters_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134591 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dojump.c')
-rw-r--r--gcc/dojump.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/dojump.c b/gcc/dojump.c
index b619e0f49de..e7afb7ef0a8 100644
--- a/gcc/dojump.c
+++ b/gcc/dojump.c
@@ -219,8 +219,7 @@ do_jump (tree exp, rtx if_false_label, rtx if_true_label)
/* Strip narrowing integral type conversions. */
while ((TREE_CODE (exp0) == NOP_EXPR
- || TREE_CODE (exp0) == CONVERT_EXPR
- || TREE_CODE (exp0) == NON_LVALUE_EXPR)
+ || TREE_CODE (exp0) == CONVERT_EXPR)
&& TREE_OPERAND (exp0, 0) != error_mark_node
&& TYPE_PRECISION (TREE_TYPE (exp0))
<= TYPE_PRECISION (TREE_TYPE (TREE_OPERAND (exp0, 0))))