diff options
author | Bernd Schmidt <bernd.schmidt@codesourcery.com> | 2010-04-16 09:32:21 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2010-04-16 09:32:21 +0000 |
commit | 6ddfdb0f7e310a026479c484e32d020b1cbeedf8 (patch) | |
tree | e2e650590b499c11d4614b72675674b86849b851 /gcc/reload.c | |
parent | 5312b0660e6f24145896e84382d184c16c884bf1 (diff) | |
download | gcc-6ddfdb0f7e310a026479c484e32d020b1cbeedf8.tar.gz |
recog.h (struct recog_data): New field is_operator.
* recog.h (struct recog_data): New field is_operator.
(struct insn_operand_data): New field is_operator.
* recog.c (extract_insn): Set recog_data.is_operator.
* genoutput.c (output_operand_data): Emit code to set the
is_operator field.
* reload.c (find_reloads): Use it rather than testing for an
empty constraint string.
From-SVN: r158403
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 4601b4aeacd..2406b6bc550 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -3631,7 +3631,7 @@ find_reloads (rtx insn, int replace, int ind_levels, int live_known, || modified[j] != RELOAD_WRITE) && j != i /* Ignore things like match_operator operands. */ - && *recog_data.constraints[j] != 0 + && !recog_data.is_operator[j] /* Don't count an input operand that is constrained to match the early clobber operand. */ && ! (this_alternative_matches[j] == i |