[Patch, Fortran] PR 52542 - Fix PROCEDURE() with Bind(C)

Tobias Burnus burnus@net-b.de
Fri Mar 9 22:00:00 GMT 2012

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)?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: procptr-bind_c.diff
Type: text/x-patch
Size: 1084 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120309/f5e835a4/attachment.bin>

More information about the Gcc-patches mailing list