aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-11-14 03:20:11 +0000
committerJeff Law <law@gcc.gnu.org>1997-11-13 20:20:11 -0700
commitdaa4b71743f92f2a1c4adcc52eb0838c76a30ac5 (patch)
tree14dc2c54027b1d8bc7c931d954057501da5329dc /gcc
parent9bb5394eca7bf11a141fb4c551afcb90b8e34747 (diff)
downloadgcc-daa4b71743f92f2a1c4adcc52eb0838c76a30ac5.zip
gcc-daa4b71743f92f2a1c4adcc52eb0838c76a30ac5.tar.gz
gcc-daa4b71743f92f2a1c4adcc52eb0838c76a30ac5.tar.bz2
integrate.c (save_for_inline_copying): Add return value from savealloc.
* integrate.c (save_for_inline_copying): Add return value from savealloc. From-SVN: r16481
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/integrate.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d52d45f..c8ba8c9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
+
+ * integrate.c (save_for_inline_copying): Add return value from
+ savealloc.
+
Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
* fixincludes: Be a little more restrictive on what we will
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 4c887fb..623beb5 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -542,7 +542,7 @@ save_for_inline_copying (fndecl)
/* Copy the parm_reg_stack_loc array, and substitute for all of the rtx
contained in it. */
- new2 = savealloc (max_parm_reg * sizeof (rtx));
+ new2 = (rtx *) savealloc (max_parm_reg * sizeof (rtx));
bcopy ((char *) parm_reg_stack_loc, (char *) new2,
max_parm_reg * sizeof (rtx));
parm_reg_stack_loc = new2;