]> gcc.gnu.org Git - gcc.git/commitdiff
re PR target/18321 (mmix-knuth-mmixware testsuite failure: gcc.c-torture/compile...
authorHans-Peter Nilsson <hp@bitrange.com>
Tue, 28 Dec 2004 23:19:12 +0000 (23:19 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Tue, 28 Dec 2004 23:19:12 +0000 (23:19 +0000)
PR target/18321
* config/mmix/mmix.c (mmix_expand_epilogue): Change type of
variable offset to HOST_WIDE_INT.  Remove obsolete comment.  Fix
spacing.

From-SVN: r92685

gcc/ChangeLog
gcc/config/mmix/mmix.c

index ba2abe3d67d05bcd7d9afacc9419ac557da305d7..7b44126c745081c4c6da1ab827bae1b61f7c875a 100644 (file)
@@ -1,3 +1,10 @@
+2004-12-28  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       PR target/18321
+       * config/mmix/mmix.c (mmix_expand_epilogue): Change type of
+       variable offset to HOST_WIDE_INT.  Remove obsolete comment.  Fix
+       spacing.
+
 2004-12-28  Andrew Pinski  <pinskia@physics.uc.edu>
 
        * fold-const.c (fold_build_cleanup_point_expr): For a RETURN_EXPR,
index e28c3b806f744995519ba3beccf167a4c2b518df..fc9adb6e177cfce315d67b1d16469915aca17c70 100644 (file)
@@ -2093,11 +2093,8 @@ mmix_expand_epilogue (void)
        + current_function_pretend_args_size
        + locals_size + 7) & ~7;
 
-  /* The assumption that locals_size fits in an int is asserted in
-     mmix_expand_prologue.  */
-
   /* The first address to access is beyond the outgoing_args area.  */
-  int offset = current_function_outgoing_args_size;
+  HOST_WIDE_INT offset = current_function_outgoing_args_size;
 
   /* Add the space for global non-register-stack registers.
      It is assumed that the frame-pointer register can be one of these
@@ -2156,7 +2153,6 @@ mmix_expand_epilogue (void)
      might be of an unaligned size.  */
   offset += (locals_size + 7) & ~7;
 
-
   /* The saved register stack pointer is just below the frame-pointer
      register.  We don't need to restore it "manually"; the POP
      instruction does that.  */
This page took 0.087965 seconds and 5 git commands to generate.