This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/65903] New: Line continuation followed by comment character in string fails to compile
- From: "laurent.chardon at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Apr 2015 14:16:50 +0000
- Subject: [Bug fortran/65903] New: Line continuation followed by comment character in string fails to compile
- Auto-submitted: auto-generated
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.