Compiler error with local procedure pointers of same name

Tobias Burnus burnus@net-b.de
Tue Jun 29 18:33:00 GMT 2010


John McFarland wrote:
> 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 concur that it is a bug and have filled now a PR in Bugzilla, cf.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44718

Thanks for the report!

Tobias



More information about the Fortran mailing list