This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran, OOP] PR 46952: [OOP] Spurious "recursive call" error with type bound procedure
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 12 Feb 2013 13:20:02 +0100
- Subject: Re: [Patch, Fortran, OOP] PR 46952: [OOP] Spurious "recursive call" error with type bound procedure
- References: <CAKwh3qjpAPu0W7+j4pnMVkL24Qk2vtZvPiZBB7if+s7ASJjTXw@mail.gmail.com> <511A1706.6070205@net-b.de>
>> 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. Committed as r195975.
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.
>
>