diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 066668a84f31..8ce7152a5f87 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-18 Kazu Hirata + + * combine.c (simplify_comparison): Don't share rtx when converting + (ne (and (not X) 1) 0) to (eq (and X 1) 0). + 2003-07-18 David Edelsohn * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define. diff --git a/gcc/combine.c b/gcc/combine.c index 883f504a50b8..30dd97aff3d6 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -11072,7 +11072,7 @@ simplify_comparison (enum rtx_code code, rtx *pop0, rtx *pop1) && GET_CODE (XEXP (op0, 0)) == NOT) { op0 = simplify_and_const_int - (op0, mode, XEXP (XEXP (op0, 0), 0), (HOST_WIDE_INT) 1); + (NULL_RTX, mode, XEXP (XEXP (op0, 0), 0), (HOST_WIDE_INT) 1); code = (code == NE ? EQ : NE); continue; }