[Patch, Fortran, OOP] PR 46952: [OOP] Spurious "recursive call" error with type bound procedure

Tobias Burnus burnus@net-b.de
Tue Feb 12 10:18:00 GMT 2013


Janus Weil wrote:
> 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?

The patch looks fine and simple enough for 4.8.

Thanks,

Tobias


> 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.



More information about the Gcc-patches mailing list