[patch 2/2] Multi-dimensional arrays issue (PR fortran/11104)

Jan Kratochvil jan.kratochvil@redhat.com
Tue Jan 11 17:26:00 GMT 2011


On Tue, 11 Jan 2011 17:50:35 +0100, Tom Tromey wrote:
> I read this and at least the parts that I understood make sense to me :)
> I think you should go ahead with it.

I was thinking that even with the patch 1/2 there is a memory requirements
regression:

If you have a value containing the array (such as $var) it is not lazy.  The
new code will create the memory copies of the intermediate array subsections.
The current FSF GDB code did not.

But in practice I do not think it is a problem as there is already a problem
if one attempts to copy a huge array into an internal variable.  And in most
cases the value is lazy which is OK.


Thanks,
Jan



More information about the Gdb-patches mailing list