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, OOP] PR 46952: [OOP] Spurious "recursive call" error with type bound procedure


Hi all,

here is a simple patch for a rejects-valid problem with deferred
type-bound procedures. This is the patch from comment 5 in the PR. A
simpler (but equivalent) patch can be found in comment 4. Both fix the
problem and are free of testsuite regressions.

Is any of the two versions still ok for 4.8? Or should it wait for 4.9?

Cheers,
Janus


2013-01-18  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/46952
    * resolve.c (resolve_call): Do not check deferred procedures for
    recursiveness.


2013-01-18  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/46952
    * gfortran.dg/typebound_deferred_1.f90: New.

Attachment: pr46952_v2.diff
Description: Binary data

Attachment: typebound_deferred_1.f90
Description: Binary data


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