This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35779] New: error pointer wrong in PARAMETER
- From: "dick dot hendrickson at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Mar 2008 19:47:07 -0000
- Subject: [Bug fortran/35779] New: error pointer wrong in PARAMETER
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The error message thingo points to the wrong place in the
bad line and/or gives a misleading diagnostic. This isn't
all that important. I only found it because I'm trying to
find the source of an internal compiler error and if I mess
around with things, this one crops up and hides the other.
Dick Hendrickson
module bad_message
! fails on Windows XP
! gcc version 4.4.0 20080312 (experimental) [trunk revision 133139]
integer,PARAMETER :: I3(10) = (/(J1, J1=10,1,-1)/)
integer,PARAMETER :: I2(10) = (/(J1, J1=its_bad,1,-1)/)
end module
gfortran%gfortran module_bad_message.f
module_bad_message.f:9.38:
integer,PARAMETER :: I2(10) = (/(J1, J1=its_bad,1,-1)/)
1
Error: Invalid character in name at (1)
--
Summary: error pointer wrong in PARAMETER
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dick dot hendrickson at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35779