This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Correct module change introduced by DTIO patch.


Dear All,

This patch has just been committed to trunk as r240349, following an
OK from Andre on #gfortran.

This was urgently needed since the original DTIO patch, committed on
2016-31-08, added two extra pairs of parentheses, which are always
empty, to the intrinsic operator list in module files. Since
INTRINSIC_(UN)FORMATTED are NOT operators, the cleanest fix is to
place them after the sentinel in the enum. This has been commented
both in gfortran.h and interface.c to avoid any future
misunderstandings.

Please note that module files produced between 2016-31-08 05:36:22 and
11:26:59 today should be recompiled.

Paul

2016-09-22  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/48298
    * gfortran.h : Place the pseudo operators INTRINSIC_FORMATTED
    and INTRINSIC_UNFORMATTED after the sentinel in enum
    gfc_intrinsic_op so that they do not appear as place holders
    in module_write.
    * interface.c (dtio_op): Comment on the special nature of the
    pseudo operators INTRINSIC FORMATTED and INTRINSIC_UNFORMATTED.

Attachment: commit.diff
Description: Text document


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