[Bug cobol/119241] cobol Front end uses host floating point (128b) support

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 18 14:09:40 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 60806
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60806&action=edit
start of a patch

Note the core of the patch is to change cbl_field_data_t::value to 'tree' and
then chase down uses.  It seems quite some string roundtrips can be avoided
this way.  It seems that there's the possibility to assimilate
initial_from_float128 as well, giving 'tree' a more native representation that
just a float128_type_node REAL_CST (though that's possibly the best first
step).


More information about the Gcc-bugs mailing list