]> git.ipfire.org Git - thirdparty/gcc.git/commit
tm.texi (TARGET_STRUCT_VALUE_RTX): Document new value 2 for incoming.
authorCarlos O'Donell <carlos@codesourcery.com>
Tue, 4 Apr 2006 16:19:59 +0000 (16:19 +0000)
committerCarlos O'Donell <carlos@gcc.gnu.org>
Tue, 4 Apr 2006 16:19:59 +0000 (16:19 +0000)
commit2225b57c2884d2e674ccd5ad972a10a7c1316ec9
tree320de322098272075404c4d8bf933e1c2b3bfa03
parent41ed243ff0f5c098b930eb3fcc333077b346348a
tm.texi (TARGET_STRUCT_VALUE_RTX): Document new value 2 for incoming.

gcc/

2006-04-04  Carlos O'Donell  <carlos@codesourcery.com>

* doc/tm.texi (TARGET_STRUCT_VALUE_RTX): Document
new value 2 for incoming.
* function.c (expand_function_start): Call struct_value_rtx
with incoming as 2.
* config/sparc/sparc.md: Comment updated_return.
* config/sparc/sparc.opt: Add -mstd-struct-return option.
* config/sparc/sparc.c (sparc_struct_value_rtx): Use standard
struct return if sparc_std_struct_return and incoming is 2.
(print_operand): Do not adjust return if
sparc_std_struct_return.

gcc/testsuite/

2006-04-04  Carlos O'Donell  <carlos@codesourcery.com>

* gcc.target/sparc/struct-ret-check.c: New test.

From-SVN: r112672
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md
gcc/config/sparc/sparc.opt
gcc/doc/tm.texi
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sparc/struct-ret-check.c [new file with mode: 0644]