]> git.ipfire.org Git - thirdparty/gcc.git/commit
m32c.c (m32c_function_arg): Structures are always passed on the stack.
authorDJ Delorie <dj@redhat.com>
Fri, 7 Apr 2006 21:50:47 +0000 (17:50 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 7 Apr 2006 21:50:47 +0000 (17:50 -0400)
commit9d746d5e11d4ab6d9449815d7489ac7917361ddc
treecb57f09e55c4dc564adddb8556e8a35fbaf5fa77
parentff5e9a942cba0770cd0ccdd44d38cf03c3c5cbfb
m32c.c (m32c_function_arg): Structures are always passed on the stack.

* config/m32c/m32c.c (m32c_function_arg): Structures are always
passed on the stack.
(m32c_init_cumulative_args): When a function returns a structure,
always pass the pointer to that return area on the stack.
(m32c_function_arg_advance): Don't increment the parameter number
if we're processing the returned structure pointer.
(pushm_info): Reverse order of registers.

From-SVN: r112765
gcc/ChangeLog
gcc/config/m32c/m32c.c