http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55234



janus at gcc dot gnu.org changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED

                 CC|                            |janus at gcc dot gnu.org

         Resolution|                            |INVALID



--- Comment #1 from janus at gcc dot gnu.org 2012-11-07 16:46:07 UTC ---

(In reply to comment #0)

> I wonder if the "::" is not a syntax error in the following interface block?



No, this is certainly valid in Fortran 2008:



R1206 procedure-stmt is [ MODULE ] PROCEDURE [ :: ] procedure-name-list



So, the "::" is allowed, but optional. Note that it is not allowed according to

Fortran 2003, so gfortran will reject it with -std=f2003.







> While gfortran goes through, other compilers like xlf or pgf90 complain about

> it.



You should submit a bugreport to those guys instead ...

Reply via email to