[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

anlauf at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 31 20:12:15 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931

--- Comment #9 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #2)
> Created attachment 52138 [details]
> Somewhat reduced reproducer
> 
> The issue can be reproduced with a few less modules

The reduced testcase compiles for me with today's 13-trunk, but not 12-branch.
However, the full original testcase fails with varying errors depending on the
gfortran version.


More information about the Gcc-bugs mailing list