type warning in bzero.
* regmove.c (regmove_optimize): Ditto.
* haifa-sched.c (find_rgns): Ditto.
* haifa-sched.c (print_value): Clean up ptr->int cast
warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15169
138bc75d-0d04-0410-961f-
82ee72b054a4
+Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
+
+ * alias.c (init_alias_analysis): Clean up incompatible pointer
+ type warning in bzero.
+ * regmove.c (regmove_optimize): Ditto.
+ * haifa-sched.c (find_rgns): Ditto.
+
+ * haifa-sched.c (print_value): Clean up ptr->int cast
+ warnings.
+
Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
* INSTALL: Change 'amigados' to 'amigaos' to match current usage.
reg_base_value_size = maxreg * 2;
reg_base_value = (rtx *)oballoc (reg_base_value_size * sizeof (rtx));
reg_seen = (char *)alloca (reg_base_value_size);
- bzero (reg_base_value, reg_base_value_size * sizeof (rtx));
+ bzero ((char *) reg_base_value, reg_base_value_size * sizeof (rtx));
bzero (reg_seen, reg_base_value_size);
/* Mark all hard registers which may contain an address.
/* function's inner arrays allocation and initialization */
max_hdr = (int *) alloca (n_basic_blocks * sizeof (int));
dfs_nr = (int *) alloca (n_basic_blocks * sizeof (int));
- bzero ((int *) dfs_nr, n_basic_blocks * sizeof (int));
+ bzero ((char *) dfs_nr, n_basic_blocks * sizeof (int));
stack = (int *) alloca (nr_edges * sizeof (int));
queue = (int *) alloca (n_basic_blocks * sizeof (int));
strcpy (t, "fr");
else
strcpy (t, "r");
- sprintf (buf, "%s%d", t, (int) XEXP (x, 0));
+ sprintf (buf, "%s%d", t, !! XEXP (x, 0));
break;
case SUBREG:
print_value (t, XEXP (x, 0), verbose);
- sprintf (buf, "%s#%d", t, (int) XEXP (x, 1));
+ sprintf (buf, "%s#%d", t, !! XEXP (x, 1));
break;
case SCRATCH:
sprintf (buf, "scratch");
/* Must initialize this before the loop, because the code for
the commutative case may set matches for operands other than
the current one. */
- bzero (matches, sizeof (matches));
+ bzero ((char *)matches, sizeof (matches));
for (operand_number = 0;
operand_number < insn_n_operands[insn_code_number];
/* Must initialize this before the loop, because the code for
the commutative case may set matches for operands other than
the current one. */
- bzero (matches, sizeof (matches));
+ bzero ((char *) matches, sizeof (matches));
for (operand_number = 0;
operand_number < insn_n_operands[insn_code_number];