diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-03-22 02:57:27 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-03-22 02:57:27 +0000 |
commit | 400e39e37d046a34d076806ecb5d5a8dc1611ceb (patch) | |
tree | a58465330fa743ce33f43c71477dcf5b003ce91a /gcc/web.c | |
parent | bd8ec6a7cdf75d6441b8a784e962cf177f237b34 (diff) | |
download | gcc-400e39e37d046a34d076806ecb5d5a8dc1611ceb.tar.gz |
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
Diffstat (limited to 'gcc/web.c')
-rw-r--r-- | gcc/web.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/web.c b/gcc/web.c index 7d1f39e43eb..af006bfaf50 100644 --- a/gcc/web.c +++ b/gcc/web.c @@ -267,12 +267,10 @@ web_main (void) df = df_init (); df_analyze (df, 0, DF_UD_CHAIN | DF_EQUIV_NOTES); - def_entry = - (struct web_entry *) xcalloc (df->n_defs, sizeof (struct web_entry)); - use_entry = - (struct web_entry *) xcalloc (df->n_uses, sizeof (struct web_entry)); - used = (char *) xcalloc (max, sizeof (char)); - use_addressof = (char *) xcalloc (max, sizeof (char)); + def_entry = xcalloc (df->n_defs, sizeof (struct web_entry)); + use_entry = xcalloc (df->n_uses, sizeof (struct web_entry)); + used = xcalloc (max, sizeof (char)); + use_addressof = xcalloc (max, sizeof (char)); if (dump_file) df_dump (df, DF_UD_CHAIN | DF_DU_CHAIN, dump_file); |