From 4d61152fa7ca5adbef732ab94a96201203731604 Mon Sep 17 00:00:00 2001 From: pbrook Date: Wed, 3 Mar 2004 11:41:47 +0000 Subject: [PATCH] * flow.c (ior_reg_cond, and_reg_cond): Remove stray ")". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78827 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ 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 + + * 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 99c943a..686292c 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; -- 2.7.4