[Bug fortran/50542] New: gfortran should detect violation of Fortran 95 R536 (r178939)

zeccav at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 27 14:29:00 GMT 2011


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



More information about the Gcc-bugs mailing list