re PR target/63668 (-mstd-struct-return fails for non-leaf functions)
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 7 Dec 2015 23:18:29 +0000 (23:18 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 7 Dec 2015 23:18:29 +0000 (23:18 +0000)
commit9250444b59bb08bd5939c4af410eb153153baef9
tree5d9f8cdcf5e2b3092a1f3216fffbffdc3ab45619
parent7c010e27a9e9d975ff265264ae515f7dc9feebd6
re PR target/63668 (-mstd-struct-return fails for non-leaf functions)

PR target/63668
* doc/invoke.texi (SPARC options): Document -mstd-struct-return.
* config/sparc/sparc.c (sparc_struct_value_rtx): Minor tweaks.
* config/sparc/sparc.h (CALL_REALLY_USED_REGISTERS): Define.
* config/sparc/sparc.opt (mstd-struct-return): Accept negative form.

From-SVN: r231387
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.opt
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sparc/struct-ret-check-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/sparc/struct-ret-check-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/sparc/struct-ret-check.c [deleted file]