public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/48589] New: Invalid G0/G0.d editing for NaN/infinity
@ 2011-04-13  9:40 thenlich at users dot sourceforge.net
  2011-04-13 19:00 ` [Bug libfortran/48589] " jvdelisle at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: thenlich at users dot sourceforge.net @ 2011-04-13  9:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48589

           Summary: Invalid G0/G0.d editing for NaN/infinity
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: thenlich@users.sourceforge.net


Created attachment 23972
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23972
Test case

For NaN and infinity, the form of the output field for the G0 and G0.d edit
descriptors is set to a fixed width of 25, but Fortran 2008 demands:

10.7.5.2.2
3  For an internal value that is an IEEE infinity or NaN, [...] the form of the
output field for the G0 and G0.d edit descriptors is the same as for F0.0.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libfortran/48589] Invalid G0/G0.d editing for NaN/infinity
  2011-04-13  9:40 [Bug libfortran/48589] New: Invalid G0/G0.d editing for NaN/infinity thenlich at users dot sourceforge.net
@ 2011-04-13 19:00 ` jvdelisle at gcc dot gnu.org
  2011-04-14 15:22 ` jvdelisle at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu.org @ 2011-04-13 19:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48589

--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-04-13 19:00:44 UTC ---
OK , I will have a look, thanks.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libfortran/48589] Invalid G0/G0.d editing for NaN/infinity
  2011-04-13  9:40 [Bug libfortran/48589] New: Invalid G0/G0.d editing for NaN/infinity thenlich at users dot sourceforge.net
  2011-04-13 19:00 ` [Bug libfortran/48589] " jvdelisle at gcc dot gnu.org
@ 2011-04-14 15:22 ` jvdelisle at gcc dot gnu.org
  2011-04-15 16:33 ` jvdelisle at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu.org @ 2011-04-14 15:22 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48589

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.04.14 15:21:36
         AssignedTo|unassigned at gcc dot       |jvdelisle at gcc dot
                   |gnu.org                     |gnu.org
     Ever Confirmed|0                           |1

--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-04-14 15:21:36 UTC ---
and I will take this one too.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libfortran/48589] Invalid G0/G0.d editing for NaN/infinity
  2011-04-13  9:40 [Bug libfortran/48589] New: Invalid G0/G0.d editing for NaN/infinity thenlich at users dot sourceforge.net
  2011-04-13 19:00 ` [Bug libfortran/48589] " jvdelisle at gcc dot gnu.org
  2011-04-14 15:22 ` jvdelisle at gcc dot gnu.org
@ 2011-04-15 16:33 ` jvdelisle at gcc dot gnu.org
  2011-04-15 16:37 ` jvdelisle at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu.org @ 2011-04-15 16:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48589

--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-04-15 16:29:50 UTC ---
Author: jvdelisle
Date: Fri Apr 15 16:29:44 2011
New Revision: 172502

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172502
Log:
2011-04-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR libgfortran/48589
    * io/write_float.def (write_infnan): Set width properly for G0.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/write_float.def


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libfortran/48589] Invalid G0/G0.d editing for NaN/infinity
  2011-04-13  9:40 [Bug libfortran/48589] New: Invalid G0/G0.d editing for NaN/infinity thenlich at users dot sourceforge.net
                   ` (2 preceding siblings ...)
  2011-04-15 16:33 ` jvdelisle at gcc dot gnu.org
@ 2011-04-15 16:37 ` jvdelisle at gcc dot gnu.org
  2011-04-15 16:47 ` jvdelisle at gcc dot gnu.org
  2011-04-26  6:42 ` thenlich at users dot sourceforge.net
  5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu.org @ 2011-04-15 16:37 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48589

--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-04-15 16:33:14 UTC ---
Author: jvdelisle
Date: Fri Apr 15 16:33:07 2011
New Revision: 172503

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172503
Log:
2011-04-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR libgfortran/48589
    * gfortran.dg/fmt_g0_5.f08: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/fmt_g0_5.f08
Modified:
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libfortran/48589] Invalid G0/G0.d editing for NaN/infinity
  2011-04-13  9:40 [Bug libfortran/48589] New: Invalid G0/G0.d editing for NaN/infinity thenlich at users dot sourceforge.net
                   ` (3 preceding siblings ...)
  2011-04-15 16:37 ` jvdelisle at gcc dot gnu.org
@ 2011-04-15 16:47 ` jvdelisle at gcc dot gnu.org
  2011-04-26  6:42 ` thenlich at users dot sourceforge.net
  5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu.org @ 2011-04-15 16:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48589

--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-04-15 16:42:13 UTC ---
Fixed on trunk.  Shall we backport to 4.6.1?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libfortran/48589] Invalid G0/G0.d editing for NaN/infinity
  2011-04-13  9:40 [Bug libfortran/48589] New: Invalid G0/G0.d editing for NaN/infinity thenlich at users dot sourceforge.net
                   ` (4 preceding siblings ...)
  2011-04-15 16:47 ` jvdelisle at gcc dot gnu.org
@ 2011-04-26  6:42 ` thenlich at users dot sourceforge.net
  5 siblings, 0 replies; 7+ messages in thread
From: thenlich at users dot sourceforge.net @ 2011-04-26  6:42 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48589

Thomas Henlich <thenlich at users dot sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-04-26 06:40:41 UTC ---
Tested ok on snapshot 20110423.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-04-26  6:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-13  9:40 [Bug libfortran/48589] New: Invalid G0/G0.d editing for NaN/infinity thenlich at users dot sourceforge.net
2011-04-13 19:00 ` [Bug libfortran/48589] " jvdelisle at gcc dot gnu.org
2011-04-14 15:22 ` jvdelisle at gcc dot gnu.org
2011-04-15 16:33 ` jvdelisle at gcc dot gnu.org
2011-04-15 16:37 ` jvdelisle at gcc dot gnu.org
2011-04-15 16:47 ` jvdelisle at gcc dot gnu.org
2011-04-26  6:42 ` thenlich at users dot sourceforge.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).