This is the mail archive of the gcc-patches@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]

Re: [Patch, Fortran] PING: PR fortran/37746: -fbounds-check for string lengths of dummy arguments


Steve Kargl wrote:
> However, one thing that comes to
> mind is whether the code will have false positive for ISO
> varying strings.
>   
There should be no issue in the way they are implemented (user
"ASSIGNMENT(=)" subroutine); however, there will be a problem with
allocatable strings ("character(len=:),allocatable"), which are not yet
implemented. But this is not different from assignments of scalars to
allocatable arrays: Both are supposed to be reallocated on the fly,
something which is not yet implemented.

Tobias


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