aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-05-28 11:59:30 +0000
committerJeffrey A Law <law@cygnus.com>1998-05-28 11:59:30 +0000
commit66808d9ae548bf7e4d20c59c971e304d45731ae4 (patch)
tree693ecaa30a43dfd8a890b713aae0b926163bebd7 /gcc/reload.c
parent7d67b5810f711a83beac7702e7a6b4263c9fc984 (diff)
8
* reload.c (find_reloads): Do not force a reloads of match_operators. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@20122 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.c')
-rw-r--r--gcc/reload.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/reload.c b/gcc/reload.c
index 8bfcbedd0a7..694c23601b6 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