[Patch, fortran] [3/4] C binding access to C_PTR type: don't do name lookup in gen_special_c_interop_ptr
Mikael Morin
mikael.morin@sfr.fr
Sat Mar 2 16:54:00 GMT 2013
This patch fixes gen_special_c_interop_ptr, which uses gfc_find_symtree to retrieve
the current symbol. Again, this is not safe to renaming and hiding, so this
patch passes the symbol directly, instead of passing its name and retrieving
the symbol from it.
-------------- next part --------------
2013-03-02 Mikael Morin <mikael@gcc.gnu.org>
* symbol.c (gen_special_c_interop_ptr): Retrieve symbol through
argument instead of symbol name lookup.
(generate_isocbinding_symbol): Update caller.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr55574_v20-3.patch
Type: text/x-diff
Size: 1379 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130302/7ba80fb7/attachment.bin>
More information about the Gcc-patches
mailing list