diff options
author | Jeff Law <law@gcc.gnu.org> | 1998-05-28 05:59:30 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-05-28 05:59:30 -0600 |
commit | ad729076948bd9e78db712bbf3dbfa0688e6a68a (patch) | |
tree | 693ecaa30a43dfd8a890b713aae0b926163bebd7 | |
parent | f4d1453e0fd2f1175bb5bcd6556842d9f7d7aea6 (diff) | |
download | gcc-ad729076948bd9e78db712bbf3dbfa0688e6a68a.zip gcc-ad729076948bd9e78db712bbf3dbfa0688e6a68a.tar.gz gcc-ad729076948bd9e78db712bbf3dbfa0688e6a68a.tar.bz2 |
reload.c (find_reloads): Do not force a reloads of match_operators.
8
* reload.c (find_reloads): Do not force a reloads of match_operators.
From-SVN: r20122
-rw-r--r-- | gcc/reload.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 8bfcbed..694c236 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -2763,8 +2763,9 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) int earlyclobber = 0; /* If the predicate accepts a unary operator, it means that - we need to reload the operand. */ - if (GET_RTX_CLASS (GET_CODE (operand)) == '1') + we need to reload the operand, but do not do this for + match_operator and friends. */ + if (GET_RTX_CLASS (GET_CODE (operand)) == '1' && *p != 0) operand = XEXP (operand, 0); /* If the operand is a SUBREG, extract |