Commit 7b8f4700 by John David Anglin

pa.c (pa_function_arg_size): Apply CEIL to GET_MODE_SIZE return value.

	* config/pa/pa.c (pa_function_arg_size): Apply CEIL to GET_MODE_SIZE
	return value.

From-SVN: r256768
parent 12b38cca
2018-01-16 John David Anglin <danglin@gcc.gnu.org>
* config/pa/pa.c (pa_function_arg_size): Apply CEIL to GET_MODE_SIZE
return value.
2018-01-16 Eric Botcazou <ebotcazou@adacore.com>
* gimple-ssa-warn-restrict.c (builtin_memref::builtin_memref): For an
......
......@@ -10842,9 +10842,10 @@ pa_starting_frame_offset (void)
HOST_WIDE_INT
pa_function_arg_size (machine_mode mode, const_tree type)
{
if (mode != BLKmode)
return GET_MODE_SIZE (mode);
return CEIL (int_size_in_bytes (type), UNITS_PER_WORD);
HOST_WIDE_INT size;
size = mode != BLKmode ? GET_MODE_SIZE (mode) : int_size_in_bytes (type);
return CEIL (size, UNITS_PER_WORD);
}
#include "gt-pa.h"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment