This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Procedure Pointers: a first patch
> I tested with several compilers; the result is:
>
> Accepted: gfortran
> Rejected: NAG f95, g95, openf95, ifort, sunf95
> Not supported: g77
Could you please clarify what exactly you tested?
> However, I do not see why (a) f2c_6.f90, (b) value_4.f90, and (c)
> gfortran.fortran-torture/execute/entry_7.f90
> fail. There is not a single occurrence of EXTERNAL.
They all use interfaces like this:
interface
function f()
integer, pointer :: f
end function
end interface
which are misinterpreted as procptrs by my patch.
Any idea how to fix this?
Cheers,
Janus