rs6000.c (rs6000_emit_move): If we load or store a long double type...
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Wed, 17 Jan 2018 23:16:03 +0000 (23:16 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Wed, 17 Jan 2018 23:16:03 +0000 (23:16 +0000)
commita3b11faf7e1920d972eb98b86dc826b107f979a0
tree4de4f82bacc49399d88181969b4c547efd8df8e8
parenta533fc76359bf0dfedc15be83f0bfd886712a4b3
rs6000.c (rs6000_emit_move): If we load or store a long double type...

[gcc]
2018-01-17  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_emit_move): If we load or store a
long double type, set the flags for noting the default long double
type, even if we don't pass or return a long double type.

[gcc/testsuite]
2018-01-17  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/gnuattr1.c: New test to make sure we set the
appropriate .gnu_attribute for the long double type, if we use the
long double type, but do not generate any calls.
* gcc.target/powerpc/gnuattr2.c: Likewise.
* gcc.target/powerpc/gnuattr3.c: Likewise.

From-SVN: r256822
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/gnuattr1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/gnuattr2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/gnuattr3.c [new file with mode: 0644]