diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2024-06-05 04:22:25 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2024-06-05 04:22:25 -0500 |
commit | 6fa25aa970cb82ee7fd6884d75bb14673b14dbbe (patch) | |
tree | f4cf668048e5354a0648128681b35d7505cc60f9 /libgomp/testsuite/libgomp.c-c++-common/matrix-simd-1.c | |
parent | abe6d39365476e6be724815d09d072e305018755 (diff) | |
download | gcc-6fa25aa970cb82ee7fd6884d75bb14673b14dbbe.zip gcc-6fa25aa970cb82ee7fd6884d75bb14673b14dbbe.tar.gz gcc-6fa25aa970cb82ee7fd6884d75bb14673b14dbbe.tar.bz2 |
ada: 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 ada
with TYPE_PRECISION of long_double_type_node.
[1] https://gcc.gnu.org/pipermail/gcc-patches/2024-May/651209.html
gcc/ada/ChangeLog:
* gcc-interface/decl.cc (gnat_to_gnu_entity): Use TYPE_PRECISION of
long_double_type_node to replace LONG_DOUBLE_TYPE_SIZE.
Diffstat (limited to 'libgomp/testsuite/libgomp.c-c++-common/matrix-simd-1.c')
0 files changed, 0 insertions, 0 deletions