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: unassig...@gcc.gnu.org ReportedBy: zec...@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