aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-06-02 21:35:27 +0000
committerRichard Stallman <rms@gnu.org>1992-06-02 21:35:27 +0000
commit9797b9e8f080242377c8534a64c039b3998d8b39 (patch)
tree4afe2562f5b4659797d02fe46a4999b79867df67 /gcc
parent6a5293dc3b4d474983e8f57429fc9035bc3bf381 (diff)
downloadgcc-9797b9e8f080242377c8534a64c039b3998d8b39.zip
gcc-9797b9e8f080242377c8534a64c039b3998d8b39.tar.gz
gcc-9797b9e8f080242377c8534a64c039b3998d8b39.tar.bz2
*** empty log message ***
From-SVN: r1142
Diffstat (limited to 'gcc')
-rw-r--r--gcc/combine.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 492987f..6f5c5e9 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))),