diff options
author | Jeff Law <law@gcc.gnu.org> | 2000-01-04 23:55:02 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-01-04 23:55:02 -0700 |
commit | dd1bd863187095f63709320f6a30d97fe0ee40ab (patch) | |
tree | 3b3c08aae28d90b998b0682832af59be16e48f95 /gcc/gcse.c | |
parent | e9b8009ef8d9615d74d1587b9bb06766a42b6aa3 (diff) | |
download | gcc-dd1bd863187095f63709320f6a30d97fe0ee40ab.zip gcc-dd1bd863187095f63709320f6a30d97fe0ee40ab.tar.gz gcc-dd1bd863187095f63709320f6a30d97fe0ee40ab.tar.bz2 |
cse.c (cse_insn): Missing cast added.
* cse.c (cse_insn): Missing cast added.
* loop.c (loop_reg_used_before_p): Ditto.
* gcse.c (Pre_gcse, hoist_code): Ditto.
* varasm.c (decode_rtx_const): Ditto.
* except.c (push_ehqueue): Ditto.
* cccp.c (index0): Ditto.
* toplev.c (main): Useless `&' removed before function name.
From-SVN: r31229
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ /* Global common subexpression elimination/Partial redundancy elimination and global constant/copy propagation for GNU compiler. - Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -4824,7 +4824,7 @@ pre_gcse () /* Compute a mapping from expression number (`bitmap_index') to hash table entry. */ - index_map = xcalloc (n_exprs, sizeof (struct expr *)); + index_map = (struct expr **) xcalloc (n_exprs, sizeof (struct expr *)); for (i = 0; i < expr_hash_table_size; i++) { struct expr *expr; @@ -5468,7 +5468,7 @@ hoist_code () /* Compute a mapping from expression number (`bitmap_index') to hash table entry. */ - index_map = xcalloc (n_exprs, sizeof (struct expr *)); + index_map = (struct expr **) xcalloc (n_exprs, sizeof (struct expr *)); for (i = 0; i < expr_hash_table_size; i++) { struct expr *expr; |