This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]