public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/34712]  New: Formatted write of float broken (mingw32)
@ 2008-01-08  4:57 jvdelisle at gcc dot gnu dot org
  2008-01-08  8:50 ` [Bug libfortran/34712] " jvdelisle at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-01-08  4:57 UTC (permalink / raw)
  To: gcc-bugs

This is target specific:

      program bug 
      double precision x
      x=7.0 
      print *, x 
      end

gfortran.exe bug.f 
$ ./a.exe
 ******************     

This acts like field width is being miscalculated in output_float.  It works
fine with Cygwin binary.


-- 
           Summary: Formatted write of float broken (mingw32)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jvdelisle at gcc dot gnu dot org
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


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


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

* [Bug libfortran/34712] Formatted write of float broken (mingw32)
  2008-01-08  4:57 [Bug libfortran/34712] New: Formatted write of float broken (mingw32) jvdelisle at gcc dot gnu dot org
@ 2008-01-08  8:50 ` jvdelisle at gcc dot gnu dot org
  2008-01-09  7:42 ` dannysmith at users dot sourceforge dot net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-01-08  8:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jvdelisle at gcc dot gnu dot org  2008-01-08 04:56 -------
Adding FX to cc.  FX do you see this failure on your mingw binaries? 


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org


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


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

* [Bug libfortran/34712] Formatted write of float broken (mingw32)
  2008-01-08  4:57 [Bug libfortran/34712] New: Formatted write of float broken (mingw32) jvdelisle at gcc dot gnu dot org
  2008-01-08  8:50 ` [Bug libfortran/34712] " jvdelisle at gcc dot gnu dot org
@ 2008-01-09  7:42 ` dannysmith at users dot sourceforge dot net
  2008-01-09 17:20 ` fxcoudert at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2008-01-09  7:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dannysmith at users dot sourceforge dot net  2008-01-09 06:14 -------
This is a dup of PR23138 which is fixed if using recent mingw runtime.
Danny


-- 


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


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

* [Bug libfortran/34712] Formatted write of float broken (mingw32)
  2008-01-08  4:57 [Bug libfortran/34712] New: Formatted write of float broken (mingw32) jvdelisle at gcc dot gnu dot org
  2008-01-08  8:50 ` [Bug libfortran/34712] " jvdelisle at gcc dot gnu dot org
  2008-01-09  7:42 ` dannysmith at users dot sourceforge dot net
@ 2008-01-09 17:20 ` fxcoudert at gcc dot gnu dot org
  2008-01-11  7:29 ` jvdelisle at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-01-09 17:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2008-01-09 16:41 -------
I've just built fresh binaries and "It Works For Me"(TM):

$ cat a.f90 
      program bug 
      double precision x
      x=7.0 
      print *, x 
      end

$ gfortran.exe -v
Using built-in specs.
Target: i386-pc-mingw32
Configured with: ../trunk/configure --prefix=/mingw
--enable-languages=c,fortran --with-gmp=/home/FX/local --with-ld=/mingw/bin/ld
--with-as=/mingw/bin/as --disable-werror --enable-bootstrap --enable-threads
--disable-nls --build=i386-pc-mingw32 --enable-libgomp --disable-shared
Thread model: win32
gcc version 4.3.0 20080109 (experimental) [trunk revision 131426] (GCC) 

$ gfortran.exe a.f90 && ./a.exe
   7.0000000000000000


I am building with mingw-3.13: if you have older than that, you need to
upgrade; if you have mingw-3.14, then it's a regression and we need to
investigate more; if you have mingw-3.13, I don't understand ;-)  Which do you
have?


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
           Keywords|wrong-code                  |


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


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

* [Bug libfortran/34712] Formatted write of float broken (mingw32)
  2008-01-08  4:57 [Bug libfortran/34712] New: Formatted write of float broken (mingw32) jvdelisle at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-01-09 17:20 ` fxcoudert at gcc dot gnu dot org
@ 2008-01-11  7:29 ` jvdelisle at gcc dot gnu dot org
  2008-01-19 17:21 ` fxcoudert at gcc dot gnu dot org
  2008-01-19 17:26 ` jvdelisle at verizon dot net
  5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-01-11  7:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jvdelisle at gcc dot gnu dot org  2008-01-11 07:02 -------
Reply to comment #2:  I will update and see if that fixes it.  Thanks Danny


-- 


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


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

* [Bug libfortran/34712] Formatted write of float broken (mingw32)
  2008-01-08  4:57 [Bug libfortran/34712] New: Formatted write of float broken (mingw32) jvdelisle at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-01-11  7:29 ` jvdelisle at gcc dot gnu dot org
@ 2008-01-19 17:21 ` fxcoudert at gcc dot gnu dot org
  2008-01-19 17:26 ` jvdelisle at verizon dot net
  5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-01-19 17:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from fxcoudert at gcc dot gnu dot org  2008-01-19 17:12 -------
(In reply to comment #4)
> Reply to comment #2:  I will update and see if that fixes it.  Thanks Danny

I'm closing this: I have built new binaries and I still don't this it. Jerry,
if updating doesn't fix it, please reopen.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug libfortran/34712] Formatted write of float broken (mingw32)
  2008-01-08  4:57 [Bug libfortran/34712] New: Formatted write of float broken (mingw32) jvdelisle at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-01-19 17:21 ` fxcoudert at gcc dot gnu dot org
@ 2008-01-19 17:26 ` jvdelisle at verizon dot net
  5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at verizon dot net @ 2008-01-19 17:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jvdelisle at verizon dot net  2008-01-19 17:20 -------
Subject: Re:  Formatted write of float broken (mingw32)

fxcoudert at gcc dot gnu dot org wrote:
> ------- Comment #5 from fxcoudert at gcc dot gnu dot org  2008-01-19 17:12 -------
> (In reply to comment #4)
>> Reply to comment #2:  I will update and see if that fixes it.  Thanks Danny
> 
> I'm closing this: I have built new binaries and I still don't this it. Jerry,
> if updating doesn't fix it, please reopen.
> 
> 
Agree.


-- 


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


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

end of thread, other threads:[~2008-01-19 17:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-08  4:57 [Bug libfortran/34712] New: Formatted write of float broken (mingw32) jvdelisle at gcc dot gnu dot org
2008-01-08  8:50 ` [Bug libfortran/34712] " jvdelisle at gcc dot gnu dot org
2008-01-09  7:42 ` dannysmith at users dot sourceforge dot net
2008-01-09 17:20 ` fxcoudert at gcc dot gnu dot org
2008-01-11  7:29 ` jvdelisle at gcc dot gnu dot org
2008-01-19 17:21 ` fxcoudert at gcc dot gnu dot org
2008-01-19 17:26 ` jvdelisle at verizon dot 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).