[Patch, Fortran] PR fortran/34162: Internal procedure as actual argument

Daniel Kraft d@domob.eu
Fri Sep 3 10:42:00 GMT 2010


Hi,

the attached patch implements the Fortran 2008 feature of internal 
procedures as actual arguments.  Since the middle-end already supports 
this natively, all that had to be done was update the resolve.c check 
accordingly.

I tried to add a challenging test-case, and it seems to work just like a 
charm.  This feature is hopefully quite useful, at least myself I would 
have liked to use it already some times.

Currently regtesting on GNU/Linux-x86-32.  Ok for trunk if no regressions?

Yours,
Daniel

-- 
http://www.pro-vegan.info/
--
Done:  Arc-Bar-Cav-Kni-Ran-Rog-Sam-Tou-Val-Wiz
To go: Hea-Mon-Pri
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.changelog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100903/1645b9fa/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100903/1645b9fa/attachment-0001.ksh>


More information about the Fortran mailing list