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/29800] New: -fbounds-check: For derived types, write not also compound name


Currently one gets for
  Var(1)%Array(k) = k
the error:
  out of bounds for array 'var'

sunf95 writes:
  Subscript number 1 has value 11 in array 'ARRAY'

I think the output of SUN is more correct; best would be of cause:
  'var%array'

Test case: bnd11 of
http://www.polyhedron.com/pb05/linux/diagnose.html


-- 
           Summary: -fbounds-check: For derived types, write not also
                    compound name
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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