[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-05-24 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #22 from Jerry DeLisle --- (In reply to Jerry DeLisle from comment #21) > Author: jvdelisle > Date: Tue May 24 06:11:21 2016 > New Revision: 236628 > > URL: https://gcc.gnu.org/viewcvs?rev=236628=gcc=rev > Log: > 2016-05-23 Jerry

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-05-24 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #21 from Jerry DeLisle --- Author: jvdelisle Date: Tue May 24 06:11:21 2016 New Revision: 236628 URL: https://gcc.gnu.org/viewcvs?rev=236628=gcc=rev Log: 2016-05-23 Jerry DeLisle PR

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-05-10 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 Jerry DeLisle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-05-10 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #19 from Jerry DeLisle --- Fixed on 7, 6, 5, and 4.9. and closing. Please let me know if further problems arise.

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-05-05 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #18 from Jerry DeLisle --- Author: jvdelisle Date: Fri May 6 01:18:59 2016 New Revision: 235941 URL: https://gcc.gnu.org/viewcvs?rev=235941=gcc=rev Log: 2016-05-05 Jerry DeLisle Backport from

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-05-02 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #17 from Jerry DeLisle --- Author: jvdelisle Date: Tue May 3 00:51:30 2016 New Revision: 235801 URL: https://gcc.gnu.org/viewcvs?rev=235801=gcc=rev Log: 2016-05-02 Jerry DeLisle Backport from

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-23 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #16 from Jerry DeLisle --- Author: jvdelisle Date: Sun Apr 24 05:07:21 2016 New Revision: 235391 URL: https://gcc.gnu.org/viewcvs?rev=235391=gcc=rev Log: 2016-04-23 Jerry DeLisle PR

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-23 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #15 from Jerry DeLisle --- (In reply to Andy May from comment #14) --- snip --- > > Of course, I really appreciate the work that goes into this. I've already > made a local patch file with your fix so that the mxe.cc gcc builds with

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-22 Thread ajmay81 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #14 from Andy May --- (In reply to Jerry DeLisle from comment #13) > (In reply to Andy May from comment #12) > > I don't know that it's necessary or desired to support both '\n' and '\r' as > > eol, but instead the native eol just

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-21 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #13 from Jerry DeLisle --- (In reply to Andy May from comment #12) > I don't know that it's necessary or desired to support both '\n' and '\r' as > eol, but instead the native eol just needs to be used consistently > everywhere, for

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-21 Thread ajmay81 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #12 from Andy May --- I don't know that it's necessary or desired to support both '\n' and '\r' as eol, but instead the native eol just needs to be used consistently everywhere, for example something like the following pseudo code:

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-21 Thread mingw.android at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #11 from Ray Donnelly --- I wonder if opening the files in text mode on Windows would be possible? I don't know a lot about fortran at present, but doing that would cause Windows to dump the \r's for you. On Thu, Apr 21, 2016 at

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-21 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #10 from Jerry DeLisle --- (In reply to Ray Donnelly from comment #9) > Should the other two places - next_char_default () and next_char_internal () > -that also do: > > dtp->u.p.at_eol = (c == '\n' || c == EOF); > > not check for

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-20 Thread mingw.android at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 Ray Donnelly changed: What|Removed |Added CC||mingw.android at gmail dot com ---

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-19 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #8 from Jerry DeLisle --- Author: jvdelisle Date: Tue Apr 19 19:24:28 2016 New Revision: 235220 URL: https://gcc.gnu.org/viewcvs?rev=235220=gcc=rev Log: 2016-04-19 Jerry DeLisle PR

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 Richard Biener changed: What|Removed |Added Target Milestone|--- |4.9.4

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-17 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #7 from Jerry DeLisle --- The following patch fixes the issue. diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c index e24b3922..b8e174c5 100644 --- a/libgfortran/io/list_read.c +++ b/libgfortran/io/list_read.c @@

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-17 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 --- Comment #6 from Jerry DeLisle --- The regression occurred at r200238, which was a fix for PR57633. I am working on a fix.

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-16 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Known to work|