diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-01-07 20:41:59 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-01-07 20:41:59 -0500 |
commit | 780c34830a24bc8e2c169d0a7687cd09e7e4c4f5 (patch) | |
tree | 70a3a7cdc0c6b4ea71cc96b879ea76dbcc74c68d | |
parent | 7e13907585758b6f4574cd2b5d1bf23d7f83e47d (diff) | |
download | gcc-780c34830a24bc8e2c169d0a7687cd09e7e4c4f5.zip gcc-780c34830a24bc8e2c169d0a7687cd09e7e4c4f5.tar.gz gcc-780c34830a24bc8e2c169d0a7687cd09e7e4c4f5.tar.bz2 |
(dbr_schedule): Add missing casts in bzero call.
From-SVN: r8725
-rw-r--r-- | gcc/reorg.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index e4058d7..bfe75bd 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -1,5 +1,5 @@ /* Perform instruction reorganizations for delay slot filling. - Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1992, 1993, 1994. 1995 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu). Hacked by Michael Tiemann (tiemann@cygnus.com). @@ -4287,14 +4287,15 @@ dbr_schedule (first, file) target_hash_table = (struct target_info **) alloca ((TARGET_HASH_PRIME * sizeof (struct target_info *))); - bzero (target_hash_table, TARGET_HASH_PRIME * sizeof (struct target_info *)); + bzero ((char *) target_hash_table, + TARGET_HASH_PRIME * sizeof (struct target_info *)); bb_ticks = (int *) alloca (n_basic_blocks * sizeof (int)); - bzero (bb_ticks, n_basic_blocks * sizeof (int)); + bzero ((char *) bb_ticks, n_basic_blocks * sizeof (int)); /* Initialize the statistics for this function. */ - bzero (num_insns_needing_delays, sizeof num_insns_needing_delays); - bzero (num_filled_delays, sizeof num_filled_delays); + bzero ((char *) num_insns_needing_delays, sizeof num_insns_needing_delays); + bzero ((char *) num_filled_delays, sizeof num_filled_delays); /* Now do the delay slot filling. Try everything twice in case earlier changes make more slots fillable. */ |