diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b911fe5e826..67bc5240cb5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-03-26 Richard Henderson + + * expr.h (ADD_PARM_SIZE): One more convert for INC. + 2002-03-26 Phil Edwards * gcc.c (cpp_options): Preserve relative ordering of -pedantic @@ -5,6 +9,7 @@ (cc1_options): Likewise. 2002-03-26 Hans Boehm + * 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): diff --git a/gcc/expr.h b/gcc/expr.h index 792c18c2423..9ffc61fd9a8 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -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)); \