Re: [patch, libgfortran] Fix numerous formatting bugs

2011-04-28 Thread Janne Blomqvist
On Fri, Apr 29, 2011 at 09:22, Jerry DeLisle wrote: > On 04/27/2011 12:57 PM, Janne Blomqvist wrote: >> So the change is that now it prints the same number of significant >> digits in E and F mode, both for list formatted output and kPG0 when >> k>=0. For list formatted we can do pretty much what

Re: [patch, libgfortran] Fix numerous formatting bugs

2011-04-28 Thread Jerry DeLisle
On 04/27/2011 12:57 PM, Janne Blomqvist wrote: On Wed, Apr 27, 2011 at 08:53, Janne Blomqvist wrote: On Wed, Apr 27, 2011 at 07:09, Jerry DeLisle wrote: On 04/25/2011 07:36 AM, Janne Blomqvist wrote: On Mon, Apr 25, 2011 at 14:44, Jerry DeLisle wrote: On 04/25/2011 03:48 AM, Janne Blom

Re: [patch, libgfortran] Fix numerous formatting bugs

2011-04-27 Thread Janne Blomqvist
On Wed, Apr 27, 2011 at 08:53, Janne Blomqvist wrote: > On Wed, Apr 27, 2011 at 07:09, Jerry DeLisle wrote: >> On 04/25/2011 07:36 AM, Janne Blomqvist wrote: >>> >>> On Mon, Apr 25, 2011 at 14:44, Jerry DeLisle >>>  wrote: On 04/25/2011 03:48 AM, Janne Blomqvist wrote: > > Now,

Re: [patch, libgfortran] Fix numerous formatting bugs

2011-04-26 Thread Janne Blomqvist
On Wed, Apr 27, 2011 at 07:09, Jerry DeLisle wrote: > On 04/25/2011 07:36 AM, Janne Blomqvist wrote: >> >> On Mon, Apr 25, 2011 at 14:44, Jerry DeLisle >>  wrote: >>> >>> On 04/25/2011 03:48 AM, Janne Blomqvist wrote: Now, for one of the testcase changes: --- gcc/testsuite/gfor

Re: [patch, libgfortran] Fix numerous formatting bugs

2011-04-26 Thread Jerry DeLisle
On 04/26/2011 09:09 PM, Jerry DeLisle wrote: ---snip--- 1.234500019E-06 4284600.00 1.234500019E-06 4284600.00 1.23450002E-06 4284600.00 And without the patch: 1.23450002E-06 4284600.00 1.234500019E-06 4284600.00 1.23450002E-06 4284600.00 d is th

Re: [patch, libgfortran] Fix numerous formatting bugs

2011-04-26 Thread Jerry DeLisle
On 04/25/2011 07:36 AM, Janne Blomqvist wrote: On Mon, Apr 25, 2011 at 14:44, Jerry DeLisle wrote: On 04/25/2011 03:48 AM, Janne Blomqvist wrote: Now, for one of the testcase changes: --- gcc/testsuite/gfortran.dg/char4_iunit_1.f03 (revision 172909) +++ gcc/testsuite/gfortran.dg/char4_iunit_1

Re: [patch, libgfortran] Fix numerous formatting bugs

2011-04-25 Thread Jerry DeLisle
On 04/25/2011 07:36 AM, Janne Blomqvist wrote: On Mon, Apr 25, 2011 at 14:44, Jerry DeLisle wrote: On 04/25/2011 03:48 AM, Janne Blomqvist wrote: Now, for one of the testcase changes: --- gcc/testsuite/gfortran.dg/char4_iunit_1.f03 (revision 172909) +++ gcc/testsuite/gfortran.dg/char4_iunit_1

Re: [patch, libgfortran] Fix numerous formatting bugs

2011-04-25 Thread Janne Blomqvist
On Mon, Apr 25, 2011 at 14:44, Jerry DeLisle wrote: > On 04/25/2011 03:48 AM, Janne Blomqvist wrote: >> Now, for one of the testcase changes: >> >> --- gcc/testsuite/gfortran.dg/char4_iunit_1.f03 (revision 172909) >> +++ gcc/testsuite/gfortran.dg/char4_iunit_1.f03 (working copy) >> @@ -24,11 +24,1

Re: [patch, libgfortran] Fix numerous formatting bugs

2011-04-25 Thread Jerry DeLisle
On 04/25/2011 03:48 AM, Janne Blomqvist wrote: On Sun, Apr 24, 2011 at 23:32, Jerry DeLisle wrote: The final solution to 48602 I want to do as a second phase to this. The second phase will attempt to avoid floating point comparisons which are sensitive to optimizations and or printf behavior.

Re: [patch, libgfortran] Fix numerous formatting bugs

2011-04-25 Thread Janne Blomqvist
On Sun, Apr 24, 2011 at 23:32, Jerry DeLisle wrote: > The final solution to 48602 I want to do as a second phase to this. The > second phase will attempt to avoid floating point comparisons which are > sensitive to optimizations and or printf behavior. Sounds like a good idea. I think it should b