This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66973] Incorrect resolution of generic interface with TYPE(C_PTR)
- From: "brtnfld at hdfgroup dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Jul 2015 20:14:55 +0000
- Subject: [Bug fortran/66973] Incorrect resolution of generic interface with TYPE(C_PTR)
- Auto-submitted: auto-generated
- References: <bug-66973-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66973
--- Comment #3 from Scot Breitenfeld <brtnfld at hdfgroup dot org> ---
(In reply to Scot Breitenfeld from comment #2)
> The following sequence picks the f90 interface, when it should pick the f03
> (TYPE(C_PTR)) interface.
>
> gfortran -c H5Tff.F90
> gfortran fortranlib_test_F03.f90 -o H5Tff.o
>
> The program prints:
>
> PRINT*,'Inside pick_f90'
I meant gfortran fortranlib_test_F03.f90 H5Tff.o