diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/flow.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ed079e..baa6a90 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-03-03 Paul Brook <paul@codesourcery.com> + + * flow.c (ior_reg_cond, and_reg_cond): Remove stray ")". + 2004-03-03 Jan Hubicka <jh@suse.cz> * ggc-common.c (ggc_alloc_cleared_stat, ggc_realloc_stat): @@ -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; |