This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35040] New: usage of init expression in its own definition
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2008 10:38:36 -0000
- Subject: [Bug fortran/35040] New: usage of init expression in its own definition
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
REAL, DIMENSION(2,2), PARAMETER :: xyz = RESHAPE((/ 1,2,3,4 /), SHAPE(xyz))
END
This is accepted by gfortran and all other compilers Tobias tested. However,
neither of us is sure whether it's valid or not.
For any invalid example, see also: PR34495.
--
Summary: usage of init expression in its own definition
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dfranke at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35040