integrate.c (save_for_inline_copying): Add return value from savealloc.
authorJeffrey A Law <law@cygnus.com>
Fri, 14 Nov 1997 03:20:11 +0000 (03:20 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 14 Nov 1997 03:20:11 +0000 (20:20 -0700)
        * integrate.c (save_for_inline_copying): Add return value from
        savealloc.

From-SVN: r16481

gcc/ChangeLog
gcc/integrate.c

index d52d45f51eef6a7c8ecf494d66121f3ff416ee11..c8ba8c95719468487eb230f1fdf1a8e588b1109b 100644 (file)
@@ -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
index 4c887fbcf762207274b2addb8c1dd4f752ea20bb..623beb5b81564efe1fad9018cab51746d8e7dab5 100644 (file)
@@ -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;