diff options
author | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-06 17:32:41 +0000 |
---|---|---|
committer | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-06 17:32:41 +0000 |
commit | a027f9e14d1ec71d7df98a9bab8e9e306fcdab5b (patch) | |
tree | ec55e89eb9ff8bec20a38fc7fd0bc1edf02de9eb /libffi/src | |
parent | 72fb5d678993b6d9856113b025be7a1a7e1387be (diff) | |
download | ppe42-gcc-a027f9e14d1ec71d7df98a9bab8e9e306fcdab5b.tar.gz ppe42-gcc-a027f9e14d1ec71d7df98a9bab8e9e306fcdab5b.zip |
2013-02-06 Andreas Tobler <andreast@fgznet.ch>
* src/powerpc/ffi.c (ffi_prep_cif_machdep): Fix case where
DOUBLE equal LONGDOUBLE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195812 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src')
-rw-r--r-- | libffi/src/powerpc/ffi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libffi/src/powerpc/ffi.c b/libffi/src/powerpc/ffi.c index baca69448fe..257f02fab3e 100644 --- a/libffi/src/powerpc/ffi.c +++ b/libffi/src/powerpc/ffi.c @@ -664,9 +664,11 @@ ffi_prep_cif_machdep (ffi_cif *cif) switch (type) { #ifndef __NO_FPRS__ +#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE case FFI_TYPE_LONGDOUBLE: flags |= FLAG_RETURNS_128BITS; /* Fall through. */ +#endif case FFI_TYPE_DOUBLE: flags |= FLAG_RETURNS_64BITS; /* Fall through. */ |