This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31465] spurious error: Implicitly typed PARAMETER doesn't match a later IMPLICIT type



------- Comment #4 from pault at gcc dot gnu dot org  2007-04-05 09:51 -------
(In reply to comment #3)
> From the standard:
> "5.2.9 PARAMETER statement
> [...]
> The named constant shall have its type, type parameters, and shape specified in
> a prior specification of the specification-part or declared implicitly (5.3).
> If the named constant is typed by the implicit typing rules, its appearance in
> any subsequent specification of the specification-part shall confirm this
> implied
> type and the values of any implied type parameters."
> Thus implies gfortran does the right thing - at least for -std=f95/f2003.

You are right - I will close it as invalid.

Sorry, Michael, but it appears that your code is standard defying.  If you
disagree, please come back to us.

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]