This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/78662] [F03] Incorrect parsing of quotes in the char-literal-constant of the DT data descriptor
- 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: Mon, 19 Dec 2016 19:02:59 +0000
- Subject: [Bug fortran/78662] [F03] Incorrect parsing of quotes in the char-literal-constant of the DT data descriptor
- Auto-submitted: auto-generated
- References: <bug-78662-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78662
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
This is fixed, I slipped a digit in the PR number , will fix changelogs at next
opportunity.
Author: jvdelisle
Date: Fri Dec 16 20:27:51 2016
New Revision: 243765
URL: https://gcc.gnu.org/viewcvs?rev=243765&root=gcc&view=rev
Log:
2016-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/78622
* io.c (format_lex): Continue of string delimiter seen.
* io/transfer.c (get_dt_format): New static function to alloc
and set the DT iotype string, handling doubled quotes.
(formatted_transfer_scalar_read,
formatted_transfer_scalar_write): Use new function.
* gfortran.dg/dtio_20.f03: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/dtio_20.f03
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/io.c
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/transfer.c