[Bug fortran/91253] [9/10 Regression] gfortran.dg/continuation_6.f fails when using -pre_include as done with latest glibc

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 8 09:26:00 GMT 2019


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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Author: burnus
Date: Fri Nov  8 09:25:40 2019
New Revision: 277957

URL: https://gcc.gnu.org/viewcvs?rev=277957&root=gcc&view=rev
Log:
Fortran] PR91253 fix continuation-line handling with -pre_include

        Backport from mainline
        2019-11-08  Tobias Burnus  <tobias@codesourcery.com

        PR fortran/91253
        * scanner.c (skip_fixed_comments): Move comment
        lines to next if block.
        (gfc_next_char_literal): Fix continue_line setting.
        (get_file): Remove bogus ATTRIBUTE_UNUSED.


Modified:
    branches/gcc-9-branch/gcc/fortran/ChangeLog
    branches/gcc-9-branch/gcc/fortran/scanner.c


More information about the Gcc-bugs mailing list