https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684
--- Comment #11 from Ray Donnelly <mingw.android at gmail dot com> --- 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 5:30 PM, jvdelisle at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 > > --- Comment #10 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- > (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 '\r' too? > > Placing it in next_char_default gives us a regression elsewhere. I am > actually > checking to see if after my patch whether the line above is even needed in > next_char_default. There are a lot of subtle interactions that go into this > code, so i tread lightly. > > I will not close this until I have the initial patch back ported and have done > some more testing and others have had time to do more testing. If you happen > to find a use case that fails, of course, let me know, and thanks. > > -- > You are receiving this mail because: > You are on the CC list for the bug.