aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorGraham Stott <grahams@rcp.co.uk>1998-10-09 09:08:51 -0700
committerRichard Henderson <rth@gcc.gnu.org>1998-10-09 09:08:51 -0700
commit2a92c071f8d1295f3672a0683f1f2cc917ddeb40 (patch)
treee24dc2e8c37807b8a57f438eb8d0c3954a1a2ece /gcc/gcc.c
parentdc2ede84e6be8d3bac83fd0f3433c1ab71965d2a (diff)
downloadgcc-2a92c071f8d1295f3672a0683f1f2cc917ddeb40.zip
gcc-2a92c071f8d1295f3672a0683f1f2cc917ddeb40.tar.gz
gcc-2a92c071f8d1295f3672a0683f1f2cc917ddeb40.tar.bz2
flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
Fri Oct 9 16:03:19 1998 Graham <grahams@rcp.co.uk> * flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use. * gcc.c (add_preprocessor_option): Correct typo when allocating memory, sizeof() argument had one too many `*'. (add_assembler_option): Likewise. (add_linker_option): Likewise. * gcov.c (output_data): Likewise. * local-alloc.c (memref_used_between_p): Likewise. (update_equiv_regs): Likewise. * loop.c (strength_reduce): Likewise. * reg-stack.c (record_asm_reg_life): Likewise. (subst_asm_stack_reg): Likewise. * reorg.c (dbr_schedule): Likewise. From-SVN: r22964
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 64fa16d..3dc6518 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2522,11 +2522,11 @@ add_preprocessor_option (option, len)
if (! preprocessor_options)
preprocessor_options
- = (char **) xmalloc (n_preprocessor_options * sizeof (char **));
+ = (char **) xmalloc (n_preprocessor_options * sizeof (char *));
else
preprocessor_options
= (char **) xrealloc (preprocessor_options,
- n_preprocessor_options * sizeof (char **));
+ n_preprocessor_options * sizeof (char *));
preprocessor_options [n_preprocessor_options - 1] = save_string (option, len);
}
@@ -2540,11 +2540,11 @@ add_assembler_option (option, len)
if (! assembler_options)
assembler_options
- = (char **) xmalloc (n_assembler_options * sizeof (char **));
+ = (char **) xmalloc (n_assembler_options * sizeof (char *));
else
assembler_options
= (char **) xrealloc (assembler_options,
- n_assembler_options * sizeof (char **));
+ n_assembler_options * sizeof (char *));
assembler_options [n_assembler_options - 1] = save_string (option, len);
}
@@ -2558,11 +2558,11 @@ add_linker_option (option, len)
if (! linker_options)
linker_options
- = (char **) xmalloc (n_linker_options * sizeof (char **));
+ = (char **) xmalloc (n_linker_options * sizeof (char *));
else
linker_options
= (char **) xrealloc (linker_options,
- n_linker_options * sizeof (char **));
+ n_linker_options * sizeof (char *));
linker_options [n_linker_options - 1] = save_string (option, len);
}