[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-03 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #20 from Thomas Henlich 2011-03-04 06:56:56 UTC --- Added two tests just in case this comes up again.

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-03 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #19 from Thomas Henlich 2011-03-04 06:54:03 UTC --- Created attachment 23538 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23538 Test 2 for pedantic IO rounding

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-03 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #18 from Thomas Henlich 2011-03-04 06:53:33 UTC --- Created attachment 23537 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23537 Test 1 for pedantic IO rounding

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-03 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 Thomas Henlich changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-03 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #16 from Thomas Henlich 2011-03-03 14:58:35 UTC --- My _mingw.h has the following: #if defined(_POSIX) && !defined(__USE_MINGW_ANSI_STDIO) /* Enable __USE_MINGW_ANSI_STDIO if _POSIX defined * and If user did _not_ specify it explici

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-03 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 Janne Blomqvist changed: What|Removed |Added CC||jb at gcc dot gnu.org --- Comment #15 f

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-02 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #14 from Steve Kargl 2011-03-02 18:17:30 UTC --- On Wed, Mar 02, 2011 at 06:02:22PM +, burnus at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 > > --- Comment #13 from Tobias Burnus 2011-03-02 > 18:

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #13 from Tobias Burnus 2011-03-02 18:02:15 UTC --- (In reply to comment #12) > could it be that it was the intention to set __USE_MINGW_ANSI_STDIO in effect? Yes - and that is what does happen for _POSIX=1 on MinGW64. But it does not

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-02 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #12 from Thomas Henlich 2011-03-02 17:54:34 UTC --- (In reply to comment #11) > From libgfortran/libgfortran.h: > > #if defined __MINGW32__ > # define _POSIX 1 > # define gfc_printf gnu_printf > #else Since the comment above that

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #11 from Tobias Burnus 2011-03-02 17:03:47 UTC --- (In reply to comment #9) > It seems that MinGW has its own implementation of snprintf called > __mingw_snprintf which can be activated by defining __USE_MINGW_ANSI_STDIO In MinGW64,

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #10 from Tobias Burnus 2011-03-02 16:45:26 UTC --- (In reply to comment #9) > It seems that MinGW has its own implementation of snprintf called > __mingw_snprintf [...] __mingw_snprintf has the desired behaviour >From libgfortran/lib

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-02 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #9 from Thomas Henlich 2011-03-02 13:49:15 UTC --- It seems that MinGW has its own implementation of snprintf called __mingw_snprintf which can be activated by defining __USE_MINGW_ANSI_STDIO __mingw_snprintf has the desired behaviou

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-01 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #8

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-01 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- Co

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-01 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 Thomas Henlich changed: What|Removed |Added Severity|normal |minor --- Comment #6 from Thomas Henlich

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-01 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot |

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-01 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #4 from Thomas Henlich 2011-03-01 14:44:54 UTC --- (In reply to comment #3) > 0.142857142857142849218750 is still within the accuracy of IEEE > double. > All numbers map to the same IEEE double. This is technically correct;

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-01 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #3 from Andreas Schwab 2011-03-01 14:27:54 UTC --- 0.142857142857142849218750 is still within the accuracy of IEEE double. All numbers map to the same IEEE double.

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-01 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #2 from Thomas Henlich 2011-03-01 14:01:56 UTC --- Created attachment 23502 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23502 C test case

[Bug libfortran/47945] REAL(8) output conversion error on MinGW32

2011-03-01 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945 --- Comment #1 from Thomas Henlich 2011-03-01 14:01:32 UTC --- Created attachment 23501 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23501 Test case