* function.c (assign_stack_local_1): Widen alignment to HOST_WIDE_INT
before rounding.
From-SVN: r85233
+2004-07-27 Richard Henderson <rth@redhat.com>
+
+ * function.c (assign_stack_local_1): Widen alignment to HOST_WIDE_INT
+ before rounding.
+
2004-07-27 Zack Weinberg <zack@codesourcery.com>
* libgcc2.c: Change all conditionals testing
use logical operations which are unambiguous. */
#ifdef FRAME_GROWS_DOWNWARD
function->x_frame_offset
- = (FLOOR_ROUND (function->x_frame_offset - frame_phase, alignment)
+ = (FLOOR_ROUND (function->x_frame_offset - frame_phase,
+ (unsigned HOST_WIDE_INT) alignment)
+ frame_phase);
#else
function->x_frame_offset
- = (CEIL_ROUND (function->x_frame_offset - frame_phase, alignment)
+ = (CEIL_ROUND (function->x_frame_offset - frame_phase,
+ (unsigned HOST_WIDE_INT) alignment)
+ frame_phase);
#endif
}