Handle frame sizes larger than int.
authorJim Wilson <wilson@redhat.com>
Tue, 28 Nov 2000 03:17:22 +0000 (03:17 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 28 Nov 2000 03:17:22 +0000 (19:17 -0800)
* reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.

From-SVN: r37809

gcc/ChangeLog
gcc/reload1.c

index 8381122..4e1a387 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-27  Jim Wilson  <wilson@redhat.com>
+
+       * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
+
 2000-11-27  Matthias Klose  <doko@cs.tu-berlin.de>
 
        * extend.texi (Nested Functions): Update URL of Usenix paper.
index 44ff84e..544d15b 100644 (file)
@@ -1015,7 +1015,7 @@ reload (first, global)
   if (insns_need_reload != 0 || something_needs_elimination
       || something_needs_operands_changed)
     {
-      int old_frame_size = get_frame_size ();
+      HOST_WIDE_INT old_frame_size = get_frame_size ();
 
       reload_as_needed (global);