[Patch, fortran] PR20866 - recursive statement functions.

Paul Thomas paulthomas2@wanadoo.fr
Sat Oct 8 17:32:00 GMT 2005


:ADDPATCH fortran:

This patch adds a new function to match.c to walk the expression for a 
statement function, looking for recursion to itself.  It recursively 
tests the expressions for any other statement functions it finds, in 
order to test for nested recursion.  A test and corresponding error is 
added to gfc_match_st_function.

Bubblestrapped and regtested on FC3/Athlon.  OK for mainline and 4.0?

Paul T
 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: submit.msg
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051008/77bbc657/attachment.ksh>


More information about the Fortran mailing list