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

Jerry DeLisle jvdelisle@verizon.net
Sun Nov 18 21:02:00 GMT 2007


Tobias Burnus wrote:
> :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
> 
Fix comment: s/where/is/

+  /* Check what next non-whitespace character is so we can tell if there
+     where the required parens if we have a BIND(C).  */

Otherwise looks OK.

Jerry



More information about the Fortran mailing list