From e16b6fd0f7b7da99739f850360d6c86c5b1cba20 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 31 Mar 2011 07:28:29 -0600 Subject: tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid typo potentially leading to null pointer dereference. * tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid typo potentially leading to null pointer dereference. * caller-save.c (new_saved_hard_reg): Eliminate return value. (setup_save_areas): Corresponding changes to avoid useless assignments. * jump.c (reversed_comparison_code_parts): Avoid successive return statements when REVERSE_CONDITION is defined. * expr.c (expand_assignment): Avoid useless assignments. (expand_expr_real_1): Likewise. (expand_expr_real_2): Avoid useless statements. * tree-ssa-phiopt.c (minmax_replacement): Avoid useless statement. * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Avoid useless statements. * stmt.c (expand_expr_stmt): Avoid useless assignment. From-SVN: r171780 --- gcc/jump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/jump.c') diff --git a/gcc/jump.c b/gcc/jump.c index 9721fe1..8adfbfd 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -308,8 +308,9 @@ reversed_comparison_code_parts (enum rtx_code code, const_rtx arg0, { #ifdef REVERSE_CONDITION return REVERSE_CONDITION (code, mode); -#endif +#else return reverse_condition (code); +#endif } /* Try a few special cases based on the comparison code. */ -- cgit v1.1