re PR target/71493 (accidental ABI change for structure return on PowerPC)
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Tue, 19 Jul 2016 03:31:48 +0000 (03:31 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 19 Jul 2016 03:31:48 +0000 (03:31 +0000)
commita8f7a89526b5fb1b17a6972b943fcbd8c4d0475a
tree9345e6cb30397421d5a3ef7234f62044e1181b10
parent40d9a67476003291aad8127a51aaece2b6862fac
re PR target/71493 (accidental ABI change for structure return on PowerPC)

[gcc]
2016-07-18  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/71493
* config/rs6000/rs6000.c (rs6000_function_value): Fix
unintentional System V.4 structure return breakage for structures
with a single floating point element.

[gcc/testsuite]
2016-07-18  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/71493
* gcc.target/powerpc/pr71493-1.c: New test.
* gcc.target/powerpc/pr71493-2.c: Likewise.

From-SVN: r238454
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr71493-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr71493-2.c [new file with mode: 0644]