]> gcc.gnu.org Git - gcc.git/commitdiff
function.c (expand_function_start): Cast GET_MODE_SIZE to HOST_WIDE_INT before negati...
authorJakub Jelinek <jakub@redhat.com>
Wed, 8 Nov 2000 13:13:10 +0000 (14:13 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 8 Nov 2000 13:13:10 +0000 (14:13 +0100)
* function.c (expand_function_start): Cast GET_MODE_SIZE to
HOST_WIDE_INT before negating it.

From-SVN: r37317

gcc/ChangeLog
gcc/function.c

index 053253f967434f03728aaa9efa3f44b1cb3f5f5c..87c1086641a7f65d732a5663fe64a0b74cf222e8 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * function.c (expand_function_start): Cast GET_MODE_SIZE to
+       HOST_WIDE_INT before negating it.
+
 2000-11-08  Jakub Jelinek  <jakub@redhat.com>
 
        * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
index f86521a2eb606be2227bfe3a55e7823a8964e504..98184eff13b2bcbf69252a3ca417a49f99520d04 100644 (file)
@@ -6315,7 +6315,8 @@ expand_function_start (subr, parms_have_cleanups)
          /* Chain thru stack frames, assuming pointer to next lexical frame
             is found at the place we always store it.  */
 #ifdef FRAME_GROWS_DOWNWARD
-         last_ptr = plus_constant (last_ptr, -GET_MODE_SIZE (Pmode));
+         last_ptr = plus_constant (last_ptr,
+                                   -(HOST_WIDE_INT) GET_MODE_SIZE (Pmode));
 #endif
          last_ptr = gen_rtx_MEM (Pmode, memory_address (Pmode, last_ptr));
          MEM_ALIAS_SET (last_ptr) = get_frame_alias_set ();
This page took 0.075313 seconds and 5 git commands to generate.