aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c-c++-common/matrix-simd-1.c
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2024-06-05 04:22:25 -0500
committerKewen Lin <linkw@linux.ibm.com>2024-06-05 04:22:25 -0500
commitb36461f126148b027e7541aaf356d5322a0fbc08 (patch)
tree75d06e36618b6d7e022a2dea0983915147311a55 /libgomp/testsuite/libgomp.c-c++-common/matrix-simd-1.c
parent6fa25aa970cb82ee7fd6884d75bb14673b14dbbe (diff)
downloadgcc-b36461f126148b027e7541aaf356d5322a0fbc08.zip
gcc-b36461f126148b027e7541aaf356d5322a0fbc08.tar.gz
gcc-b36461f126148b027e7541aaf356d5322a0fbc08.tar.bz2
d: 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 remove the only one use of LONG_DOUBLE_TYPE_SIZE in d. Iain found that LONG_DOUBLE_TYPE_SIZE is poorly named and used incorrectly before, so this patch follows his advice with int_size_in_bytes. [1] https://gcc.gnu.org/pipermail/gcc-patches/2024-May/651209.html Co-authored-by: Iain Buclaw <ibuclaw@gdcproject.org> gcc/d/ChangeLog: * d-target.cc (Target::_init): Use int_size_in_bytes of long_double_type_node to replace the expression with LONG_DOUBLE_TYPE_SIZE for c.long_doublesize assignment.
Diffstat (limited to 'libgomp/testsuite/libgomp.c-c++-common/matrix-simd-1.c')
0 files changed, 0 insertions, 0 deletions