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]

[Patch, fortran] PR78108 Generic type-bound operator conflicts


Dear All,

The comment in the patch more than adequately describes how this patch
works. The first testcase checks that correctly functioning code is
produced, when the spurious error is suppressed, and the second checks
that genuine errors are caught.

Bootstraps and regtests on FC21/x86_64 - OK for trunk and, in a week
or so time, 6-branch?

I intend to commit as 'obvious' at 17:00 CET today if there are no objections.

Best regards

Paul

2016-10-26  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/78108
    * resolve.c (resolve_typebound_intrinsic_op): For submodules
    suppress the error and return if the same procedure symbol
    is added more than once to the interface.

2016-10-26  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/78108
    * gfortran.dg/submodule_18.f08: New test.
    * gfortran.dg/submodule_19.f08: New test.

Attachment: submit.diff
Description: Text document


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