[Patch, Fortran, comitted] PR56969 - Fix bogus ambiguous symbol error for ISO_C_Binding intrinsics

Tobias Burnus burnus@net-b.de
Tue Apr 16 20:34:00 GMT 2013


The problem was that C_ASSOCIATED was made available multiple times. As 
gfc_intrinsic_func_interface calls gfc_intrinsic_symbol, the sym->module 
was set to "(intrinsic)" which didn't match the original 
"__iso_c_binding". Hence, the symbols weren't recognized as the same and 
an error is printed.

I have commit the attached patch as obvious, after a successful built 
and regtesting on x86-64-gnu-linux.
Rev. 198000.

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iso-c-mod-fix.diff
Type: text/x-patch
Size: 2391 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130416/1bca305f/attachment.bin>


More information about the Gcc-patches mailing list