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  <ja...@gcc.gnu.org>

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


2013-01-18  Janus Weil  <ja...@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

Reply via email to