This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50542] New: gfortran should detect violation of Fortran 95 R536 (r178939)
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Sep 2011 14:22:27 +0000
- Subject: [Bug fortran/50542] New: gfortran should detect violation of Fortran 95 R536 (r178939)
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50542
Bug #: 50542
Summary: gfortran should detect violation of Fortran 95 R536
(r178939)
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zeccav@gmail.com
! gfortran should detect violation of Fortran 95 R536 (r178939)
! Fortran 2003 R528
! Fortran 2008 R538
type t
integer g
end type
type(t) u
data (u%g,j=1,1) /1/! violates R536: data-i-do-object cannot be a scalar
data (ii,j=1,1) /1/ ! ditto
end