[Patch, Fortran] PR45211 - Fix DT BIND(C) check

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Aug 15 16:12:00 GMT 2010


On Sun, Aug 15, 2010 at 11:34:50AM +0200, Tobias Burnus wrote:
>  Derived types with BIND(C) are interoperable, but the check failed for 
> derived types defined in a module procedure. The reason is that 
> verify_c_interop checks for ts->u.derived->ts.is_c_interop which is only 
> set after calling verify_bind_c_derived_type. However, 
> verify_bind_c_derived_type is called in resolve.c - which is too late 
> for the call to verify_c_interop.
> 
> Build and regtested on x86-84-linux.
> OK for the trunk?
> 

OK.

-- 
Steve



More information about the Fortran mailing list