* expr.h (ADD_PARM_SIZE): One more convert for INC.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Mar 2002 21:39:50 +0000 (21:39 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Mar 2002 21:39:50 +0000 (21:39 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51409 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expr.h

index b911fe5..67bc524 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-26  Richard Henderson  <rth@redhat.com>
+
+       * expr.h (ADD_PARM_SIZE): One more convert for INC.
+
 2002-03-26  Phil Edwards  <pme@gcc.gnu.org>
 
        * gcc.c (cpp_options):  Preserve relative ordering of -pedantic
@@ -5,6 +9,7 @@
        (cc1_options):  Likewise.
 
 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
+
        * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
        Restore more of the signal context.  Set no_reg_stack_frame.
        * config/ia64/unwind-ia64.c (unw_state_record):
index 792c18c..9ffc61f 100644 (file)
@@ -81,7 +81,7 @@ do {                                                  \
   if (host_integerp (inc, 0))                          \
     (TO).constant += tree_low_cst (inc, 0);            \
   else if ((TO).var == 0)                              \
-    (TO).var = inc;                                    \
+    (TO).var = convert (ssizetype, inc);               \
   else                                                 \
     (TO).var = size_binop (PLUS_EXPR, (TO).var,                \
                           convert (ssizetype, inc));   \