From: Richard Stallman Date: Tue, 2 Jun 1992 21:35:27 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9797b9e8f080242377c8534a64c039b3998d8b39;p=gcc.git *** empty log message *** From-SVN: r1142 --- diff --git a/gcc/combine.c b/gcc/combine.c index 492987f708d..6f5c5e97ca1 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -3085,7 +3085,9 @@ subst (x, from, to, in_dest, unique_copy) /* If we have (if_then_else FOO (pc) (label_ref BAR)) and FOO can be reversed, do so to avoid needing two sets of patterns for subtract-and-branch insns. */ - if (XEXP (x, 1) == pc_rtx && reversible_comparison_p (XEXP (x, 0))) + if (XEXP (x, 1) == pc_rtx + && GET_RTX_CLASS (GET_CODE (XEXP (x, 0))) == '<' + && reversible_comparison_p (XEXP (x, 0))) { SUBST (XEXP (x, 0), gen_rtx_combine (reverse_condition (GET_CODE (XEXP (x, 0))),