sparc.c (function_arg_union_value): New 'slotno' argument.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Wed, 10 Nov 2004 17:24:19 +0000 (18:24 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 10 Nov 2004 17:24:19 +0000 (17:24 +0000)
commit22d8d62798a3ce51a7e328805593bf675eddf60f
tree519d44fed7e51de0d70afcb9657d3224501a3194
parentd05f9c39a3a6e7d9a95de9c134d13c1a34f1c70d
sparc.c (function_arg_union_value): New 'slotno' argument.

* config/sparc/sparc.c (function_arg_union_value): New 'slotno'
argument.  When the union is passed in the 6th slot, build a
PARALLEL with only one element.
(function_arg): Adjust call to function_arg_union_value.
(function_value): Likewise.

From-SVN: r90396
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/union-2.c [new file with mode: 0644]