diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-06-14 22:19:28 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-06-14 22:19:28 +0000 |
commit | 748e6d743f1926ac62e1ef6915940a30f78ddb83 (patch) | |
tree | a7bb6982dd7325e985889dd58de3ba6d06851867 /gcc/unroll.c | |
parent | ba19d940e36d1b7503352247286a7ee91e45202e (diff) | |
download | gcc-748e6d743f1926ac62e1ef6915940a30f78ddb83.tar.gz |
Cast pointer operands to bzero, bcopy, and bcmp to (char *).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7472 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r-- | gcc/unroll.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c index aba78dcf28d..3f628bddc8a 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -705,12 +705,12 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before, to access the splittable_regs[] and addr_combined_regs[] arrays. */ splittable_regs = (rtx *) alloca (maxregnum * sizeof (rtx)); - bzero (splittable_regs, maxregnum * sizeof (rtx)); + bzero ((char *) splittable_regs, maxregnum * sizeof (rtx)); splittable_regs_updates = (int *) alloca (maxregnum * sizeof (int)); - bzero (splittable_regs_updates, maxregnum * sizeof (int)); + bzero ((char *) splittable_regs_updates, maxregnum * sizeof (int)); addr_combined_regs = (struct induction **) alloca (maxregnum * sizeof (struct induction *)); - bzero (addr_combined_regs, maxregnum * sizeof (struct induction *)); + bzero ((char *) addr_combined_regs, maxregnum * sizeof (struct induction *)); /* If this loop requires exit tests when unrolled, check to see if we can precondition the loop so as to make the exit tests unnecessary. @@ -913,9 +913,10 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before, emit_label_after (labels[unroll_number - i], PREV_INSN (loop_start)); - bzero (map->insn_map, max_insnno * sizeof (rtx)); - bzero (map->const_equiv_map, maxregnum * sizeof (rtx)); - bzero (map->const_age_map, maxregnum * sizeof (unsigned)); + bzero ((char *) map->insn_map, max_insnno * sizeof (rtx)); + bzero ((char *) map->const_equiv_map, maxregnum * sizeof (rtx)); + bzero ((char *) map->const_age_map, + maxregnum * sizeof (unsigned)); map->const_age = 0; for (j = 0; j < max_labelno; j++) @@ -1050,9 +1051,9 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before, for (i = 0; i < unroll_number; i++) { - bzero (map->insn_map, max_insnno * sizeof (rtx)); - bzero (map->const_equiv_map, new_maxregnum * sizeof (rtx)); - bzero (map->const_age_map, new_maxregnum * sizeof (unsigned)); + bzero ((char *) map->insn_map, max_insnno * sizeof (rtx)); + bzero ((char *) map->const_equiv_map, new_maxregnum * sizeof (rtx)); + bzero ((char *) map->const_age_map, new_maxregnum * sizeof (unsigned)); map->const_age = 0; for (j = 0; j < max_labelno; j++) |