i386.c (ix86_function_value): Use type_natural_mode.
authorRichard Henderson <rth@redhat.com>
Mon, 10 Jan 2005 21:13:46 +0000 (13:13 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 10 Jan 2005 21:13:46 +0000 (13:13 -0800)
commitb3a1ca4966f7b82d7e7e6c865019f0d8c997ce4d
treeac5684b70342b8a59a3afedd072cca0f76720d7b
parent3fd8010046b910ac2477b0feb22f187b653655d1
i386.c (ix86_function_value): Use type_natural_mode.

        * config/i386/i386.c (ix86_function_value): Use type_natural_mode.
        (ix86_return_in_memory): Likewise.
        (function_arg_advance):  Likewise.  Mirror structure in function_arg
        for choosing register to advance.

From-SVN: r93156
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/gcc.target/i386/abi-1.c [new file with mode: 0644]