On Fri, Mar 21, 2025 at 07:33:15PM +0100, Richard Biener wrote: > The following exports the native_encode_real worker, and makes it > take a scalar float mode and REAL_VALUE_TYPE data instead of a tree > for use in the COBOL frontend, avoiding creating of a temporary tree. > > Bootstrap / regtest in progress. Is this OK for the use in COBOL? > > Thanks, > Richard. > > * fold-const.h (native_encode_real): Export. > * fold-const.cc (native_encode_real): Change API to take > mode and REAL_VALUE_TYPE. > (native_encode_expr): Adjust.
LGTM, thanks. Jakub