aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2024-06-06 19:27:56 +0100
committerGaius Mulley <gaiusmod2@gmail.com>2024-06-06 19:27:56 +0100
commit30ce9dfcc665b6088e5898cfa766b57556ebb90e (patch)
treed9cdbb93dea407083ea8eb48e2036358717e2972 /libcpp
parent366d45c8d4911dc7874d2e64cf2583c0133b8dd5 (diff)
downloadgcc-30ce9dfcc665b6088e5898cfa766b57556ebb90e.zip
gcc-30ce9dfcc665b6088e5898cfa766b57556ebb90e.tar.gz
gcc-30ce9dfcc665b6088e5898cfa766b57556ebb90e.tar.bz2
modula2: Simplify REAL/LONGREAL/SHORTREAL node creation.
This patch simplifies the real type build functions by using the default float_type_node, double_type_node rather than create new nodes. It also uses the default GCC long_double_type_node or float128_type_nodes for longreal. gcc/m2/ChangeLog: * gm2-gcc/m2type.cc (build_m2_short_real_node): Rewrite to use the default float_type_node. (build_m2_real_node): Rewrite to use the default double_type_node. (build_m2_long_real_node): Rewrite to use the default long_double_type_node or float128_type_node. Co-Authored-By: Kewen.Lin <linkw@linux.ibm.com> Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions