This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, libgfortran] PR47567 Wrong output for small absolute values with F editing
- From: Janne Blomqvist <blomqvist dot janne at gmail dot com>
- To: Jerry DeLisle <jvdelisle at frontier dot com>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 5 Feb 2011 19:33:32 +0200
- Subject: Re: [patch, libgfortran] PR47567 Wrong output for small absolute values with F editing
- References: <4D4D773F.6030703@frontier.com>
On Sat, Feb 5, 2011 at 18:13, Jerry DeLisle <jvdelisle@frontier.com> wrote:
> Hi folks,
>
> The attached patch fixes the concerns with where and where not to emit "*"
> with small values and no width or small width specified.
>
> Regression tested on x86-64.
>
> I will dejagnu the test case attached.
>
> OK for Trunk?
>
> Regards,
>
> Jerry
>
> 2011-02-05 ÂJerry DeLisle Â<jvdelisle@gcc.gnu.org>
>
> Â Â Â ÂPR libgfortran/47567
> Â Â Â Â* io/write_float.def (output_float): Eliminate some redundant code.
> Â Â Â ÂAdjust width for case of F0.X for values of zero and all other
> values.
> Â Â Â ÂExpand cases where '*' is set to give cleaner results.
>
Ok, thanks. I suppose it could be argued that F1.0 should always print
*, if one wanted to be really picky.
--
Janne Blomqvist