diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ed079e6db67..baa6a903ee03 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-03-03 Paul Brook + + * flow.c (ior_reg_cond, and_reg_cond): Remove stray ")". + 2004-03-03 Jan Hubicka * ggc-common.c (ggc_alloc_cleared_stat, ggc_realloc_stat): diff --git a/gcc/flow.c b/gcc/flow.c index 99c943ae7979..686292cf9ab0 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -3056,7 +3056,7 @@ ior_reg_cond (rtx old, rtx x, int add) if (COMPARISON_P (old)) { - if (COMPARISON_P (x)) + if (COMPARISON_P (x) && REVERSE_CONDEXEC_PREDICATES_P (GET_CODE (x), GET_CODE (old)) && REGNO (XEXP (x, 0)) == REGNO (XEXP (old, 0))) return const1_rtx; @@ -3168,7 +3168,7 @@ and_reg_cond (rtx old, rtx x, int add) if (COMPARISON_P (old)) { - if (COMPARISON_P (x)) + if (COMPARISON_P (x) && GET_CODE (x) == reverse_condition (GET_CODE (old)) && REGNO (XEXP (x, 0)) == REGNO (XEXP (old, 0))) return const0_rtx;