• carlos's avatar
    gcc/ · d8c09ceb
    carlos authored
    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
    d8c09ceb
sparc.md 267 KB