[Bug fortran/66973] Incorrect resolution of generic interface with TYPE(C_PTR)

brtnfld at hdfgroup dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 22 20:15:00 GMT 2015


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



More information about the Gcc-bugs mailing list