------- Comment #1 from pault at gcc dot gnu dot org 2009-07-07 05:01 ------- (In reply to comment #0) > The following program fails with: > > procedure(sub), pointer :: pptr2 > 1 > Error: Interface 'sub' of procedure 'pptr2' at (1) must be explicit > > > The question is whether it is valid or not. As both NAG f95 and ifort reject > it > (g95 accepts it), it might be invalid.
Although I can find nowhere in the standards that says that it is valid, I believe that by the normal rules of host association of procedures, it must be. gfortran accepts it if 'test' and 'sub' are interchanged. I have put it on my todo list. Cheers Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-07-07 05:01:00 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40591