aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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;