aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-08-12 02:23:57 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-08-12 02:23:57 +0000
commit4ac1102286d5622db427fc981f3f93a597447eb3 (patch)
tree1097b8197f27faf867c8c29462895239962070a3
parentae351e1ea105b58f8249fac58d05059512877dac (diff)
downloadgcc-4ac1102286d5622db427fc981f3f93a597447eb3.zip
gcc-4ac1102286d5622db427fc981f3f93a597447eb3.tar.gz
gcc-4ac1102286d5622db427fc981f3f93a597447eb3.tar.bz2
* gcse.c (gmalloc): Fix last change.
From-SVN: r70352
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gcse.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 767c2d6..fdd3d97 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gcse.c (gmalloc): Fix last change.
+
2003-08-11 Roger Sayle <roger@eyesopen.com>
* simplify-rtx.c (simplify_binary_operation): Replace calls to
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 066747b..a09b7fd 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -952,7 +952,7 @@ can_copy_p (enum machine_mode mode)
/* Cover function to xmalloc to record bytes allocated. */
static void *
-gmalloc (unsigned int size)
+gmalloc (size_t size)
{
bytes_used += size;
return xmalloc (size);