summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-05-23 18:15:06 +0000
committerRichard Stallman <rms@gnu.org>1992-05-23 18:15:06 +0000
commit7b7bceeba901cde97edc800da34ed296d8488670 (patch)
tree50f466a60a683cf30cdc1d53607706505aa1e8d8
parenteea626392e2d8be022344a3f386d26ae7ed3a7b7 (diff)
downloadgcc-7b7bceeba901cde97edc800da34ed296d8488670.tar.gz
entered into RCS
From-SVN: r1063
-rw-r--r--gcc/genconfig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/genconfig.c b/gcc/genconfig.c
index 86302e27b01..64fccb9294c 100644
--- a/gcc/genconfig.c
+++ b/gcc/genconfig.c
@@ -35,8 +35,8 @@ extern void free ();
extern rtx read_rtx ();
/* flags to determine output of machine description dependent #define's. */
-static int max_recog_operands;
-static int max_dup_operands;
+static int max_recog_operands; /* Largest operand number seen. */
+static int max_dup_operands; /* Largest number of match_dup in any insn. */
static int max_clobbers_per_insn;
static int register_constraint_flag;
static int have_cc0_flag;
@@ -278,7 +278,7 @@ main (argc, argv)
from the machine description file `md'. */\n\n");
/* Allow at least 10 operands for the sake of asm constructs. */
- max_recog_operands = 10;
+ max_recog_operands = 9; /* We will add 1 later. */
max_dup_operands = 1;
/* Read the machine description. */
@@ -301,7 +301,7 @@ from the machine description file `md'. */\n\n");
gen_peephole (desc);
}
- printf ("\n#define MAX_RECOG_OPERANDS %d\n", max_recog_operands);
+ printf ("\n#define MAX_RECOG_OPERANDS %d\n", max_recog_operands + 1);
printf ("\n#define MAX_DUP_OPERANDS %d\n", max_dup_operands);