This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]