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/27588] -fbounds-check should catch substring out of range accesses



------- Comment #1 from pault at gcc dot gnu dot org  2006-06-05 21:01 -------
Tobias,

You are right, we do not check character lengths in assignment, yet.  It is
another PR but I just do not recall which, right now. You are correct, that
this should be included in bounds checking.  The standard demands that the
length of the rhs, in total, should not exceed that of the lhs.

Thank you for the report.

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-06-05 21:01:03
               date|                            |


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


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