aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-02-21 02:02:19 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-02-21 02:02:19 +0000
commita811c6725905343415f6ba018837deae6da940a1 (patch)
tree67ffd521169b63b4965bfbcfde7bdbf8bc18684e /gcc/cse.c
parenta3c28ba2754ab87e605ceabfd9cbf293c9b8535e (diff)
downloadgcc-a811c6725905343415f6ba018837deae6da940a1.zip
gcc-a811c6725905343415f6ba018837deae6da940a1.tar.gz
gcc-a811c6725905343415f6ba018837deae6da940a1.tar.bz2
* gcse.c: Remove an obsolete comment.
From-SVN: r95319
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index e9f6c2f..e16113c 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -864,10 +864,12 @@ init_cse_reg_info (unsigned int nregs)
}
/* Reallocate the table with NEW_SIZE entries. */
- cse_reg_info_table = xrealloc (cse_reg_info_table,
- (sizeof (struct cse_reg_info)
- * new_size));
+ if (cse_reg_info_table)
+ free (cse_reg_info_table);
+ cse_reg_info_table = xmalloc (sizeof (struct cse_reg_info)
+ * new_size);
cse_reg_info_table_size = new_size;
+ cse_reg_info_table_first_uninitialized = 0;
}
/* Do we have all of the first NREGS entries initialized? */