i386.c (ix86_init_builtins): Make i size_t to remove warnings.

2001-01-15  Andreas Jaeger  <aj@suse.de>

	* config/i386/i386.c (ix86_init_builtins): Make i size_t to remove warnings.
	(ix86_expand_builtin): Likewise.

	* gencodes.c (output_predicate_decls): Make i size_t to avoid
	warning about comparison between signed and unsigned.

From-SVN: r39036
This commit is contained in:
Andreas Jaeger 2001-01-15 14:19:31 +01:00 committed by Andreas Jaeger
parent 998a298e1e
commit 77ebd4356e
3 changed files with 34 additions and 26 deletions

View File

@ -1,3 +1,11 @@
2001-01-15 Andreas Jaeger <aj@suse.de>
* config/i386/i386.c (ix86_init_builtins): Make i size_t to remove warnings.
(ix86_expand_builtin): Likewise.
* gencodes.c (output_predicate_decls): Make i size_t to avoid
warning about comparison between signed and unsigned.
2001-01-14 Geoffrey Keating <geoffk@redhat.com>
* expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.

View File

@ -7581,7 +7581,7 @@ void
ix86_init_builtins ()
{
struct builtin_description * d;
int i;
size_t i;
tree endlink = void_list_node;
tree pchar_type_node = build_pointer_type (char_type_node);
@ -8231,7 +8231,7 @@ ix86_expand_builtin (exp, target, subtarget, mode, ignore)
int ignore ATTRIBUTE_UNUSED;
{
struct builtin_description *d;
int i;
size_t i;
enum insn_code icode;
tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);
tree arglist = TREE_OPERAND (exp, 1);

View File

@ -60,7 +60,7 @@ output_predicate_decls ()
} predicate[] = {
PREDICATE_CODES
};
int i;
size_t i;
putc ('\n', stdout);
puts ("struct rtx_def;\n#include \"machmode.h\"\n");