aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-dump.h
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2024-06-16 21:50:19 -0500
committerKewen Lin <linkw@linux.ibm.com>2024-06-16 21:50:19 -0500
commit96fe23eb8a9ebac6b64aeb55db88d219177a345a (patch)
treee63a228772596680d0a75445057c09da22e297dc /gcc/tree-dump.h
parent6c08b829654ffa83ff62659a383511523c65b1ef (diff)
downloadgcc-96fe23eb8a9ebac6b64aeb55db88d219177a345a.zip
gcc-96fe23eb8a9ebac6b64aeb55db88d219177a345a.tar.gz
gcc-96fe23eb8a9ebac6b64aeb55db88d219177a345a.tar.bz2
m2: Remove uses of {FLOAT,{,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 uses of {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE in m2. Currently they are used for assertion and can be replaced with TYPE_SIZE check on the corresponding type node, since we dropped the call to layout_type which would early return once TYPE_SIZE is set and this assertion ensures it's safe to drop that call. [1] https://gcc.gnu.org/pipermail/gcc-patches/2024-May/651209.html gcc/m2/ChangeLog: * gm2-gcc/m2type.cc (build_m2_short_real_node): Adjust assertion with TYPE_SIZE check. (build_m2_real_node): Likewise. (build_m2_long_real_node): Add assertion with TYPE_SIZE check.
Diffstat (limited to 'gcc/tree-dump.h')
0 files changed, 0 insertions, 0 deletions