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] New: spurious error: Implicitly typed PARAMETER doesn't match a later IMPLICIT type


The program listed below produces a spurious error message:

test.f90:2.11:

PARAMETER(C = 0.0D0)
          1
Error: Implicitly typed PARAMETER 'c' at (1) doesn't match a later IMPLICIT
type

The message will disappear if I put the IMPLICIT declaration before the
PARAMETER declaration.

PROGRAM test
PARAMETER(C = 0.0D0)
IMPLICIT REAL*8 (C)
END


-- 
           Summary: spurious error: Implicitly typed PARAMETER doesn't match
                    a later IMPLICIT type
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


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]