[Patch, fortran] [2/4] C binding access to C_PTR type: use gfc_get_iso_c_binding_dt
Mikael Morin
mikael.morin@sfr.fr
Sat Mar 2 16:54:00 GMT 2013
gen_cptr_param uses gfc_get_ha_symbol to retrieve the c_ptr symbol.
This is not safe to symbol renaming and to symbol hiding.
This patch changes it to use get_iso_c_binding_dt, which is the function used
elsewhere.
-------------- next part --------------
2013-03-02 Mikael Morin <mikael@gcc.gnu.org>
* symbol.c (gen_cptr_param): Retrieve pointer type symbol using
get_iso_c_binding_dt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr55574_v20-2.patch
Type: text/x-diff
Size: 942 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130302/0e6f7947/attachment.bin>
More information about the Fortran
mailing list