Commit 77ebd435 by Andreas Jaeger Committed by Andreas Jaeger

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
parent 998a298e
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> 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
* expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs. * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
......
...@@ -7581,7 +7581,7 @@ void ...@@ -7581,7 +7581,7 @@ void
ix86_init_builtins () ix86_init_builtins ()
{ {
struct builtin_description * d; struct builtin_description * d;
int i; size_t i;
tree endlink = void_list_node; tree endlink = void_list_node;
tree pchar_type_node = build_pointer_type (char_type_node); tree pchar_type_node = build_pointer_type (char_type_node);
...@@ -8231,7 +8231,7 @@ ix86_expand_builtin (exp, target, subtarget, mode, ignore) ...@@ -8231,7 +8231,7 @@ ix86_expand_builtin (exp, target, subtarget, mode, ignore)
int ignore ATTRIBUTE_UNUSED; int ignore ATTRIBUTE_UNUSED;
{ {
struct builtin_description *d; struct builtin_description *d;
int i; size_t i;
enum insn_code icode; enum insn_code icode;
tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0); tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);
tree arglist = TREE_OPERAND (exp, 1); tree arglist = TREE_OPERAND (exp, 1);
......
...@@ -60,7 +60,7 @@ output_predicate_decls () ...@@ -60,7 +60,7 @@ output_predicate_decls ()
} predicate[] = { } predicate[] = {
PREDICATE_CODES PREDICATE_CODES
}; };
int i; size_t i;
putc ('\n', stdout); putc ('\n', stdout);
puts ("struct rtx_def;\n#include \"machmode.h\"\n"); puts ("struct rtx_def;\n#include \"machmode.h\"\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment