https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304

--- Comment #33 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #30)
> (In reply to rguent...@suse.de from comment #29)
> > Might be for \r\n line endings?
> 
> New lines are handled slightly differently – and \f and \v don't seem to be
> handled at all.
> 
> Comparing the result with ifort/ifx/flang, they handle a bare '\r' (in
> contrast to \r\n) at fewer places than gfortran – albeit from the code it
> looks as if a \r not followed by \n is not handled consistently either.
> 
--- snip ---

Initially we primarily handled /n and I recall having to do a number of places
to take care of the \r\n because Microsoft allegedly chose to not follow the
standards of the day and did the \r/\n. One can argue about that since some of
the old teletypes needed the \n to roll the paper after the carriage return. ;)

We have never done anything with \f or \v .

Reply via email to