diff options
author | Richard Henderson <rth@cygnus.com> | 1999-09-14 16:23:17 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-09-14 16:23:17 -0700 |
commit | 88e6fdcbfb67eb63bdc7f0bf81e43d098a16cba4 (patch) | |
tree | 90fc3d83b06445a99964e9388ae95062502885c5 /gcc/regclass.c | |
parent | 5a26ca07ef033e76fdc04106cc9d28cefebe3ea6 (diff) | |
download | gcc-88e6fdcbfb67eb63bdc7f0bf81e43d098a16cba4.zip gcc-88e6fdcbfb67eb63bdc7f0bf81e43d098a16cba4.tar.gz gcc-88e6fdcbfb67eb63bdc7f0bf81e43d098a16cba4.tar.bz2 |
recog.h (struct recog_data): Make dup_num...
* recog.h (struct recog_data): Make dup_num, operand_address_p,
n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
(struct insn_data): Likewise with n_operands, n_dups,
n_alternatives, output_format.
* regclass.c (scan_one_insn): Cast n_operands to int before
arithmetic inside comparison.
From-SVN: r29413
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r-- | gcc/regclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c index 5867024..1963a95 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -901,7 +901,7 @@ scan_one_insn (insn, pass) have been initialized. We must do this even if one operand is a constant--see addsi3 in m68k.md. */ - for (i = 0; i < recog_data.n_operands - 1; i++) + for (i = 0; i < (int) recog_data.n_operands - 1; i++) if (constraints[i][0] == '%') { const char *xconstraints[MAX_RECOG_OPERANDS]; |