From 400e39e37d046a34d076806ecb5d5a8dc1611ceb Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 22 Mar 2004 02:57:27 +0000 Subject: bt-load.c, [...]: Remove unnecessary casts. * bt-load.c, builtins.c, cfghooks.c, cfgrtl.c, gcse.c, ggc-page.c, integrate.c, var-tracking.c, web.c: Remove unnecessary casts. From-SVN: r79811 --- gcc/gcse.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gcc/gcse.c') diff --git a/gcc/gcse.c b/gcc/gcse.c index d75d459..eb37e18 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -8366,7 +8366,7 @@ eliminate_partially_redundant_loads (basic_block bb, rtx insn, ok_count += pred->count; if (EDGE_CRITICAL_P (pred)) critical_count += pred->count; - occr = (struct unoccr *) gmalloc (sizeof (struct unoccr)); + occr = gmalloc (sizeof (struct unoccr)); occr->insn = avail_insn; occr->pred = pred; occr->next = avail_occrs; @@ -8377,7 +8377,7 @@ eliminate_partially_redundant_loads (basic_block bb, rtx insn, not_ok_count += pred->count; if (EDGE_CRITICAL_P (pred)) critical_count += pred->count; - unoccr = (struct unoccr *) gmalloc (sizeof (struct unoccr)); + unoccr = gmalloc (sizeof (struct unoccr)); unoccr->insn = NULL_RTX; unoccr->pred = pred; unoccr->next = unavail_occrs; @@ -8616,8 +8616,7 @@ compute_hash_table_after_reload (struct hash_table *table) clear_modify_mem_tables (); /* Some working arrays used to track first and last set in each block. */ - reg_avail_info = (struct reg_avail_info*) - gmalloc (max_gcse_regno * sizeof (struct reg_avail_info)); + reg_avail_info = gmalloc (max_gcse_regno * sizeof (struct reg_avail_info)); for (i = 0; i < max_gcse_regno; ++i) reg_avail_info[i].last_bb = NULL; -- cgit v1.1