This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]