[Patch, Fortran] PR 39577 - fix -fcheck=recursion

Tobias Burnus burnus@net-b.de
Sat Apr 4 08:09:00 GMT 2009


Dominique,

thanks for your testing.

Dominique Dhumieres wrote:
> I am not so sure because I don't really master 'recursive', 'entry', and
> interfaces.  But, if the code above is standard conforming, then it is a
> false positive.
>   
Neither am I; I think there are still a couple of bugs in gfortran with
ENTRY as it is only rarely used.

Your example(s) now work(s), the problem was that the entry-master
function does not have the recursive attribute only the entry procedures
themselves have. Attached is the updated patch, which regtests and
includes your last valid example.

Build and regtested on x86-64-linux.
OK for the trunk?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: recur_check2.diff
Type: text/x-patch
Size: 8105 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090404/bae6f1eb/attachment.bin>


More information about the Gcc-patches mailing list