[Patch, Fortran] PR 52542 - Fix PROCEDURE() with Bind(C)
Tobias Burnus
burnus@net-b.de
Sat Mar 10 15:53:00 GMT 2012
Tobias Burnus wrote:
> If the interface in a PROCEDURE() statement is Bind(C), also the
> procedure (pointer) declared in that statement is BIND(C).
>
> From the F2008 standard: "A proc-language-binding-spec without a NAME=
> is allowed, but is redundant with the proc-interface required by C1222."
>
> Build and currently regtested on x86-64-linux.
> OK for the trunk (if regtesting succeeded)?
Well, it didn't as I forgot to reset two variables - one then gets then
an error that one has specified an binding name - or the wrong binding
name might be used.
Build and regtested on x86-64-linux.
OK?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: procptr-bind_c.diff
Type: text/x-patch
Size: 1190 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120310/6f677cb7/attachment.bin>
More information about the Fortran
mailing list