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/78662] [F03] Incorrect parsing of quotes in the char-literal-constant of the DT data descriptor


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

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