[patch, libgfortran] PR47567 Wrong output for small absolute values with F editing

Janne Blomqvist blomqvist.janne@gmail.com
Sat Feb 5 17:33:00 GMT 2011


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



More information about the Fortran mailing list