summaryrefslogtreecommitdiff
path: root/gcc/genoutput.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@codesourcery.com>2010-04-16 09:32:21 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2010-04-16 09:32:21 +0000
commit6ddfdb0f7e310a026479c484e32d020b1cbeedf8 (patch)
treee2e650590b499c11d4614b72675674b86849b851 /gcc/genoutput.c
parent5312b0660e6f24145896e84382d184c16c884bf1 (diff)
downloadgcc-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/genoutput.c')
-rw-r--r--gcc/genoutput.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c
index e651cb4d878..b0be21c476b 100644
--- a/gcc/genoutput.c
+++ b/gcc/genoutput.c
@@ -266,6 +266,8 @@ output_operand_data (void)
printf (" %d,\n", d->strict_low);
+ printf (" %d,\n", d->constraint == NULL ? 1 : 0);
+
printf (" %d\n", d->eliminable);
printf(" },\n");