* config/sparc/sparc.h (SPARC_STACK_ALIGN): Implement using
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Oct 2015 15:31:29 +0000 (15:31 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Oct 2015 15:31:29 +0000 (15:31 +0000)
commit5226d483e8bae5f8b33effdeb03afe00fea7a6cd
treef090e62bb5b7f954d87a09addf882cd8f635a727
parenta5820d28d8bfd55be0dd59a9849ba8f7de830a27
* config/sparc/sparc.h (SPARC_STACK_ALIGN): Implement using
ROUND_UP macro and UNITS_PER_WORD * 2.
* config/sparc/sparc.c (sparc_compute_frame_size):
Use ROUND_UP and ROUND_DOWN macros where applicable.
(function_arg_record_value, function_arg_record_value_1)
(function_arg_record_value_1): Ditto.
(emit_save_or_restore_regs): Use ROUND_DOWN to preserve offset
alignment to double-word.
(sparc_gimplify_va_arg): Use ROUND_UP to calculate rsize.
(sparc_emit_probe_stack_range): Use ROUND_DOWN to calculate
rounded_size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228769 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog