diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2021-08-03 16:21:16 -0700 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2021-08-11 07:36:55 -0700 |
commit | 58340a7cd3670024bafdbbc6ca63a9af841df98a (patch) | |
tree | a96a3c8677e30e3d5d7a5391f20fdcb9bd94b743 /gcc/graphite-poly.c | |
parent | cba64d855df581cc26fa487162027138aef4dbe5 (diff) | |
download | gcc-58340a7cd3670024bafdbbc6ca63a9af841df98a.zip gcc-58340a7cd3670024bafdbbc6ca63a9af841df98a.tar.gz gcc-58340a7cd3670024bafdbbc6ca63a9af841df98a.tar.bz2 |
Fortran: Fix c_float128 and c_float128_complex definitions.
gfc_float128_type_node is only non-NULL on targets that support a
128-bit type that is not long double. Use float128_type_node instead
when computing the value of the kind constants c_float128 and
c_float128_complex from the ISO_C_BINDING intrinsic module; this also
ensures it actually corresponds to __float128 (the IEEE encoding) and
not some other 128-bit floating-point type.
2021-08-11 Sandra Loosemore <sandra@codesourcery.com>
gcc/fortran/
* iso-c-binding.def (c_float128, c_float128_complex): Check
float128_type_node instead of gfc_float128_type_node.
* trans-types.c (gfc_init_kinds, gfc_build_real_type):
Update comments re supported 128-bit floating-point types.
Diffstat (limited to 'gcc/graphite-poly.c')
0 files changed, 0 insertions, 0 deletions