OSDN Git Service

gcc/
authorcarlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Apr 2006 16:19:59 +0000 (16:19 +0000)
committercarlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Apr 2006 16:19:59 +0000 (16:19 +0000)
commitd8c09ceb51453b4bf62d7507b613ea5e423dc9ab
tree320de322098272075404c4d8bf933e1c2b3bfa03
parent169cdb47e4f165e6716feefad48321205444342b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112672 138bc75d-0d04-0410-961f-82ee72b054a4
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]