This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/65903] New: Line continuation followed by comment character in string fails to compile


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

            Bug ID: 65903
           Summary: Line continuation followed by comment character in
                    string fails to compile
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: laurent.chardon at gmail dot com
  Target Milestone: ---

Created attachment 35405
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35405&action=edit
Test case that fails when zero or more blank characters separate an & and a !
in a string

The fix implemented for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64506 has
introduced a new bug. Now when a string contains the characters "&!" next to
each other, the scanner erroneously deletes the rest of the line.

The attached test case shows the problem.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]