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/50548] New: gfortran -fcheck=all run time would be nice to detect different shapes


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50548

             Bug #: 50548
           Summary: gfortran -fcheck=all  run time would be nice to detect
                    different shapes
    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 -fcheck=all  run time would be nice to detect different shapes
      type t
       character,pointer :: c(:)
      end type
      type(t) :: u
      allocate(u%c(1))
      u%c(1)='q'
      if(all(u%c==(/'q','w'/))) stop 'error' ! here
      end


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