diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-01-11 23:03:11 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-01-11 23:49:53 +0100 |
commit | a01be2f3095dc91a6999d4abb3e6c96c58bc5561 (patch) | |
tree | 8fb1f677f373939b92cb2c5cbad727ee85f8b2ee /gcc/testsuite/c-c++-common/auto-init-13.c | |
parent | a574503ff95691c932fd896568f6914a63be4a02 (diff) | |
download | gcc-a01be2f3095dc91a6999d4abb3e6c96c58bc5561.zip gcc-a01be2f3095dc91a6999d4abb3e6c96c58bc5561.tar.gz gcc-a01be2f3095dc91a6999d4abb3e6c96c58bc5561.tar.bz2 |
power-ieee128: Fix up byte-swapping for IBM extended real(kind=16)
Here is a patch to fix up the ppc64be vs. ppc64le byteswapping
of IBM extended real(kind=16) and complex(kind=16).
Similarly to the BT_COMPLEX case it halves size and doubles nelems
for the bswap_array calls. Of course for r16_ibm and r16_ieee conversions
one needs to make sure it is only done when the on file data is in that
format and not in IEEE quad.
2022-01-11 Jakub Jelinek <jakub@redhat.com>
* io/transfer.c (unformatted_read, unformatted_write): When
byteswapping IBM extended real(kind=16), handle it as byteswapping
two real(kind=8) values.
Diffstat (limited to 'gcc/testsuite/c-c++-common/auto-init-13.c')
0 files changed, 0 insertions, 0 deletions