PR middle-end/37316
* pa.c (function_arg_padding): Pad complex and vector types upward in
64-bit runtime.
(function_arg): Use BLKmode for PARALLEL in 64-bit runtime.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141380
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-10-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR middle-end/37316
+ * pa.c (function_arg_padding): Pad complex and vector types upward in
+ 64-bit runtime.
+ (function_arg): Use BLKmode for PARALLEL in 64-bit runtime.
+
2008-10-26 Matthias Klose <doko@ubuntu.com>
* doc/install.texi: Document requirements on antlr.
function_arg_padding (enum machine_mode mode, const_tree type)
{
if (mode == BLKmode
- || (TARGET_64BIT && type && AGGREGATE_TYPE_P (type)))
+ || (TARGET_64BIT
+ && type
+ && (AGGREGATE_TYPE_P (type)
+ || TREE_CODE (type) == COMPLEX_TYPE
+ || TREE_CODE (type) == VECTOR_TYPE)))
{
/* Return none if justification is not required. */
if (type
offset += 8;
}
- return gen_rtx_PARALLEL (mode, gen_rtvec_v (ub, loc));
+ return gen_rtx_PARALLEL (BLKmode, gen_rtvec_v (ub, loc));
}
}
else