This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34514] New: Accepts invalid: Dimensions specified for N after initialisation
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2007 18:55:44 -0000
- Subject: [Bug fortran/34514] New: Accepts invalid: Dimensions specified for N after initialisation
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
integer :: n = 4
dimension :: n(3)
end
What should this give? Best to follow NAG f95 and ifort and print:
"Array attributes for this symbol occurred after the data initializers."
or
"Dimensions specified for N after initialisation"
--
Summary: Accepts invalid: Dimensions specified for N after
initialisation
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34514