summaryrefslogtreecommitdiff
path: root/gcc/stupid.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-06-14 18:19:28 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-06-14 18:19:28 -0400
commit4c9a05bc5560ebb1144228bccb5312871a3089f7 (patch)
treea7bb6982dd7325e985889dd58de3ba6d06851867 /gcc/stupid.c
parentde953b38a3adb0580dd8caf88991fc78226b1f4e (diff)
downloadgcc-4c9a05bc5560ebb1144228bccb5312871a3089f7.tar.gz
Cast pointer operands to bzero, bcopy, and bcmp to (char *).
From-SVN: r7472
Diffstat (limited to 'gcc/stupid.c')
-rw-r--r--gcc/stupid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/stupid.c b/gcc/stupid.c
index 1293d5da5b2..7ceec9f9737 100644
--- a/gcc/stupid.c
+++ b/gcc/stupid.c
@@ -149,13 +149,13 @@ stupid_life_analysis (f, nregs, file)
/* Allocate tables to record info about regs. */
reg_where_dead = (int *) alloca (nregs * sizeof (int));
- bzero (reg_where_dead, nregs * sizeof (int));
+ bzero ((char *) reg_where_dead, nregs * sizeof (int));
reg_where_born = (int *) alloca (nregs * sizeof (int));
- bzero (reg_where_born, nregs * sizeof (int));
+ bzero ((char *) reg_where_born, nregs * sizeof (int));
reg_order = (int *) alloca (nregs * sizeof (int));
- bzero (reg_order, nregs * sizeof (int));
+ bzero ((char *) reg_order, nregs * sizeof (int));
reg_renumber = (short *) oballoc (nregs * sizeof (short));
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
@@ -167,7 +167,7 @@ stupid_life_analysis (f, nregs, file)
after_insn_hard_regs
= (HARD_REG_SET *) alloca (max_suid * sizeof (HARD_REG_SET));
- bzero (after_insn_hard_regs, max_suid * sizeof (HARD_REG_SET));
+ bzero ((char *) after_insn_hard_regs, max_suid * sizeof (HARD_REG_SET));
/* Allocate and zero out many data structures
that will record the data from lifetime analysis. */