On 2/25/19 6:13 PM, [email protected] wrote:
> From: Xiong Hu Luo <[email protected]>
> 
> dfp printf/scanf of Ha/HA, Da/DA and DDa/DDA is not set properly, cause
> incorrect warning happens:
> "use of 'D' length modifier with 'a' type character".
> 
> Regression-tested on powerpc64le-linux, OK for trunk and gcc-8?
> 
> gcc/c-family/ChangeLog:
> 
> 2019-02-25  Xiong Hu Luo  <[email protected]>
> 
>       PR c/43673
>       * c-format.c (print_char_table, scanf_char_table): Replace BADLEN with
>       TEX_D32, TEX_D64 or TEX_D128.
> 
> gcc/testsuit/ChangeLog:
> 
> 2019-02-25  Xiong Hu Luo  <[email protected]>
> 
>       PR c/43673
>       * gcc.dg/format-dfp-printf-1.c: New test.
>       * gcc.dg/format-dfp-scanf-1.c: Likewise.
THanks.  Installed on the trunk.

Sorry for the delays and miscommunications.
jeff

Reply via email to