Procedure Pointers: a first patch

Janus Weil jaydub66@googlemail.com
Sun May 25 12:44:00 GMT 2008


> 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



More information about the Fortran mailing list