diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2024-06-25 00:04:51 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2024-06-25 00:04:51 -0500 |
commit | 7eddf6e857bc79cfa0bee3b9ad89a7e16a81d1e8 (patch) | |
tree | 2b0c17951652e93d163d83cbfb47152f5fb0f47f /gcc/config/arc/arc.h | |
parent | bcd1b7a097031d33bc74943bb260d12ff801cf3f (diff) | |
download | gcc-7eddf6e857bc79cfa0bee3b9ad89a7e16a81d1e8.zip gcc-7eddf6e857bc79cfa0bee3b9ad89a7e16a81d1e8.tar.gz gcc-7eddf6e857bc79cfa0bee3b9ad89a7e16a81d1e8.tar.bz2 |
vms: Replace use of LONG_DOUBLE_TYPE_SIZE
Joseph pointed out "floating types should have their mode,
not a poorly defined precision value" in the discussion[1],
as he and Richi suggested, the existing macros
{FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE will be replaced with a
hook mode_for_floating_type. To be prepared for that, this
patch is to replace use of LONG_DOUBLE_TYPE_SIZE in vms port
with TYPE_PRECISION of long_double_type_node.
[1] https://gcc.gnu.org/pipermail/gcc-patches/2024-May/651209.html
gcc/ChangeLog:
* config/vms/vms.cc (vms_patch_builtins): Use TYPE_PRECISION of
long_double_type_node to replace LONG_DOUBLE_TYPE_SIZE.
Diffstat (limited to 'gcc/config/arc/arc.h')
0 files changed, 0 insertions, 0 deletions