This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Dear Tobias,

Apart from s/Contribute/Contributed/ this is OK for trunk.  In fact, I
would say that it is "obvious".

Thanks for the patch.

Paul

On Sat, Mar 10, 2012 at 4:53 PM, Tobias Burnus <burnus@net-b.de> wrote:
> 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



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
? ? ?? --Hitchhikers Guide to the Galaxy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]