This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/59764] New: Read logicals, line buffer, item_count, and error message consistancy
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Jan 2014 19:20:01 +0000
- Subject: [Bug libfortran/59764] New: Read logicals, line buffer, item_count, and error message consistancy
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59764
Bug ID: 59764
Summary: Read logicals, line buffer, item_count, and error
message consistancy
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jvdelisle at gcc dot gnu.org
The itemc-count variable is used for two purposes, keep track of items in a
read cycle and as a pointer into a look-ahead line buffer when reading
logicals. Some of the error messages for bad logicals need to be revised to
reflect what the value means. It is the position with the line where the error
was found and not the sequence number of the item in the READ list.
Consider separating these uses of the item_count variable so they do not
collide when reading logicals.
See pr59700 for related test cases.
- Follow-Ups:
- [Bug libfortran/59764] Read logicals, line buffer, item_count, and error message consistancy
- From: jvdelisle at gcc dot gnu.org
- [Bug libfortran/59764] Read logicals, line buffer, item_count, and error message consistancy
- From: dominiq at lps dot ens.fr
- [Bug libfortran/59764] Read logicals, line buffer, item_count, and error message consistancy
- From: jvdelisle at gcc dot gnu.org
- [Bug libfortran/59764] Read logicals, line buffer, item_count, and error message consistancy
- From: jvdelisle at gcc dot gnu.org