aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2024-06-05 04:23:04 -0500
committerKewen Lin <linkw@linux.ibm.com>2024-06-05 04:23:04 -0500
commit58ecd2eb507ab216861408cf10ec05efc4e8344e (patch)
treeeb92d3de8ad9278133f7542e0dc2b17208eefe17 /gcc/tree-vect-loop.cc
parent37a4800939bd90400e03a8fa561d2a0df394bced (diff)
downloadgcc-58ecd2eb507ab216861408cf10ec05efc4e8344e.zip
gcc-58ecd2eb507ab216861408cf10ec05efc4e8344e.tar.gz
gcc-58ecd2eb507ab216861408cf10ec05efc4e8344e.tar.bz2
darwin: 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 darwin with TYPE_PRECISION of long_double_type_node. [1] https://gcc.gnu.org/pipermail/gcc-patches/2024-May/651209.html gcc/ChangeLog: * config/darwin.cc (darwin_patch_builtins): Use TYPE_PRECISION of long_double_type_node to replace LONG_DOUBLE_TYPE_SIZE.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions