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/34955] transfer_assumed_size_1.f90: Valgrind error: invalid read of size 3



------- Comment #19 from pault at gcc dot gnu dot org  2008-12-18 22:29 -------
I have noticed that the scalar TRANSFER does not respect the undefined
condition for the rest of the result if the SOURCE size is less than the MOLD
size.  I have a patch for this, which is probably not complete but goes in the
right direction. In particular, it assumes that array types are compelete,
which was not the case when array TRANSFER was written. My inclination is to
combine the two to ensure complete bomb-proofness.  I will post my provisional
patch tomorrow.

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pault at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-03-24 18:43:13         |2008-12-18 22:29:38
               date|                            |


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


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