This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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] Multi-dimensional Fortran arrays issue PR11104


On Tue, 23 Nov 2010 11:04:43 +0100, Andrew Burgess wrote:
> Below is a revised patch that I think should solve this issue.

It has a regression for:

        dimension a(10)
        call sub(a,10)
        end
        subroutine sub(a,n)
        dimension a(n)
        a(5) = 5
        end

(gdb) b 6
(gdb) run
(gdb) p a(5)
Subscript number 1 out of bounds, range 1 to 1


Thanks,
Jan


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