* config/pa/pa.c (pa_function_arg_size): Apply CEIL to GET_MODE_SIZE
return value.
From-SVN: r256768
+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
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"