diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-01-24 11:52:30 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-01-24 11:52:30 +0100 |
commit | 9acd5a01175a3a0998eaaf306305890081d8550f (patch) | |
tree | 1a305d8a5b689a4b7007db08a77a7e1a5b7459d0 /libcpp | |
parent | cd0377a460db9d8b286e03a701227ebd62132c89 (diff) | |
download | gcc-9acd5a01175a3a0998eaaf306305890081d8550f.zip gcc-9acd5a01175a3a0998eaaf306305890081d8550f.tar.gz gcc-9acd5a01175a3a0998eaaf306305890081d8550f.tar.bz2 |
fortran: Extend -fconvert= option for ppc64le r16_ieee and r16_ibm
This patch on top of the previously posted option handling changes patch
allows specifying -fconvert=swap,r16_ieee etc. (but will error on it
when not on powerpc64le because in the library such swapping is only
implemented for HAVE_REAL_17).
2022-01-24 Jakub Jelinek <jakub@redhat.com>
* lang.opt (fconvert=): Add EnumSet property and mention also
r16_ieee and r16_ibm arguments.
(big-endian, little-endian, native, swap): Add Set(1) property.
(r16_ieee, r16_ibm): New EnumValue entries with Set(2) property.
* trans-types.cc (gfc_init_kinds): Emit gfc_fatal_error for
-fconvert=r16_ieee or -fconvert=r16_ibm when R16_IEEE <=> R16_IBM
conversions aren't supported.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions