Compiler error with local procedure pointers of same name

Janus Weil janus@gcc.gnu.org
Tue Jun 29 21:42:00 GMT 2010


John,

> gfortran errors out on the code below, which I believe is valid.  It appears
> to confuse two different local procedure pointers that have the same name
> for a global procedure pointer that is used inconsistently as both a
> function and a subroutine.

I have just committed an obvious fix for your problem:

http://gcc.gnu.org/viewcvs?view=revision&revision=161569

Thanks for reporting!

Cheers,
Janus



More information about the Fortran mailing list