[Patch, Fortran] PR34079 - Bind(C) support for ENTRY

Tobias Burnus burnus@net-b.de
Sun Nov 18 17:26:00 GMT 2007


:ADDPATCH fortran:

Fortran 2003 allows also to specify BIND(C) for ENTRY:

R1235 entry-stmt is ENTRY entry-name [ ( [ dummy-arg-list ] ) [ suffix ] ]

R1229 suffix is proc-language-binding-spec [ RESULT ( result-name ) ]
    or RESULT ( result-name ) [ proc-language-binding-spec

This adds support for this.

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

Tobias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: entry-bindC.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20071118/c263e38b/attachment.ksh>


More information about the Fortran mailing list