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

--- Comment #4 from Xiong Hu XS Luo <luoxhu at cn dot ibm.com> ---
Hi, Joseph, recently, I summited a quick fix in
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01949.html for this issue. 
Actually this was introduced by the initial patch
https://gcc.gnu.org/ml/gcc-patches/2005-12/msg00330.html committed in 2005. All
the decimal floating pointer print function are supported except the Da/DA even
it has no much difference with De/Df/Dg/DE/DF/DG, all the value are filled with
TEX_* instead of BADLEN for decimal printf table. 
From consistent view, this patch can fix the issue more easily. 
But there are questions like Ryan said, the dfp full support requires MACRO
__STDC_DEC_FP__ set in DFP library and compiler check, still this mechanism is
not implemented yet. Otherwise, it maybe fail on other platforms that don't
support DFP.  Also, this implementation may need a lot changes to the c front
end and libdfp support.

What's your suggestion about this? Thanks.

Reply via email to