This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31465] New: spurious error: Implicitly typed PARAMETER doesn't match a later IMPLICIT type
- From: "michael dot a dot richmond at nasa dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Apr 2007 17:21:19 -0000
- Subject: [Bug fortran/31465] New: spurious error: Implicitly typed PARAMETER doesn't match a later IMPLICIT type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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