[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2013-01-06 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 Tobias Burnus changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-05-06 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #15 from Jerry DeLisle 2011-05-06 20:06:42 UTC --- Fixed on trunk. Holding for backport

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-29 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #14 from Jerry DeLisle 2011-04-29 15:09:03 UTC --- Author: jvdelisle Date: Fri Apr 29 15:08:57 2011 New Revision: 173168 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173168 Log: 2011-04-29 Jerry DeLisle PR libgfortra

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-29 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #13 from Jerry DeLisle 2011-04-29 14:56:08 UTC --- Author: jvdelisle Date: Fri Apr 29 14:56:02 2011 New Revision: 173166 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173166 Log: 2011-04-29 Jerry DeLisle Janne Blom

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-25 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #12 from Thomas Henlich 2011-04-25 08:43:32 UTC --- The patch submitted to the list is different to the one I based my comments on. My mistake. Good work. With the current method of letting printf do the conversion, there seems to b

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-24 Thread jvdelisle at frontier dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #11 from jvdelisle at frontier dot com 2011-04-24 23:54:11 UTC --- On 04/24/2011 02:41 PM, thenlich at users dot sourceforge.net wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 > > --- Comment #8 from Thomas Henlich > 2011-

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-24 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #10 from Jerry DeLisle 2011-04-24 23:43:34 UTC --- Regarding comment #2. The patch completely eliminates this code. I did not feel confident that it is safe enough for all platforms. My approach is to first get the output correct, t

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-24 Thread jvdelisle at frontier dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #9 from jvdelisle at frontier dot com 2011-04-24 23:24:53 UTC --- On 04/24/2011 02:41 PM, thenlich at users dot sourceforge.net wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 > > --- Comment #8 from Thomas Henlich > 2011-0

Re: [Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-24 Thread Jerry DeLisle
On 04/24/2011 02:41 PM, thenlich at users dot sourceforge.net wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #8 from Thomas Henlich 2011-04-24 21:41:16 UTC --- I don't have access to a build system until Tuesday, so I couldn't test your patch. But I'm not sure I understan

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-24 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #8 from Thomas Henlich 2011-04-24 21:41:16 UTC --- I don't have access to a build system until Tuesday, so I couldn't test your patch. But I'm not sure I understand what you are trying to do. I see that you added one more digit in th

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-24 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #7 from Jerry DeLisle 2011-04-24 20:33:17 UTC --- Patch submitted to gfortran list for review.

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-23 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 Thomas Henlich changed: What|Removed |Added Attachment #24081|0 |1 is obsolete|

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-23 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 Jerry DeLisle changed: What|Removed |Added AssignedTo|unassigned at gcc dot |jvdelisle at gcc dot |g

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-23 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #4 from Thomas Henlich 2011-04-23 13:19:46 UTC --- Created attachment 24081 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24081 Revised test case

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-23 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-23 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #2 from Thomas Henlich 2011-04-23 11:06:28 UTC --- The second branch (let printf do rounding) should only be choosen if the requested rounding mode is the same as printf uses (nearest/compatible?) and either - the format is ES or - th

[Bug libfortran/48615] Invalid UP/DOWN rounding with E and ES descriptors

2011-04-23 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615 --- Comment #1 from Thomas Henlich 2011-04-23 07:49:33 UTC --- I think I found the problematic code in write_float: if (f->format == FMT_F || f->format == FMT_EN || f->format == FMT_G || ((f->format == FMT_D || f->format == FMT_E)