Re: [PATCH] dfp: Fix decimal_to_binary [PR94111]

2020-03-11 Thread Richard Biener
On Wed, 11 Mar 2020, Jakub Jelinek wrote: > Hi! > > As e.g. decimal_from_decnumber shows, the REAL_VALUE_TYPE representation > contains a decimal128 embedded in ->sig only if it is rvc_normal, for > other kinds like rvc_inf or rvc_nan, ->sig is ignored and everything is > contained in the REAL_VA

[PATCH] dfp: Fix decimal_to_binary [PR94111]

2020-03-11 Thread Jakub Jelinek via Gcc-patches
Hi! As e.g. decimal_from_decnumber shows, the REAL_VALUE_TYPE representation contains a decimal128 embedded in ->sig only if it is rvc_normal, for other kinds like rvc_inf or rvc_nan, ->sig is ignored and everything is contained in the REAL_VALUE_TYPE flags (cl, sign, signalling and decimal). deci