function.c (assign_stack_local_1): Allocate from function->x_frame_offset, not frame_...
authorRichard Henderson <rth@cygnus.com>
Thu, 9 Sep 1999 23:04:12 +0000 (16:04 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 9 Sep 1999 23:04:12 +0000 (16:04 -0700)
        * function.c (assign_stack_local_1): Allocate from
        function->x_frame_offset, not frame_offset.

From-SVN: r29248

gcc/ChangeLog
gcc/function.c

index 8d7e10b947f09df77a61540baaf9e7a83a8ad327..f8cea1c5447dd0f22038dc27c2e44e6dfa7a6b9d 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
+
+       * function.c (assign_stack_local_1): Allocate from
+       function->x_frame_offset, not frame_offset.
+
 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
 
        * ggc.h (lang_cleanup_tree): Remove.
index b6e4f87b20325c82f7621b06e6af8bdac5b2b089..213cf63d45e5223cee7dff0d1655133565d051be 100644 (file)
@@ -518,7 +518,7 @@ assign_stack_local_1 (mode, size, align, function)
                           + STARTING_FRAME_OFFSET));
   else
     addr = plus_constant (virtual_stack_vars_rtx,
-                         frame_offset + bigend_correction);
+                         function->x_frame_offset + bigend_correction);
 
 #ifndef FRAME_GROWS_DOWNWARD
   function->x_frame_offset += size;