RE: Variable Length Arrays (VLA) proposal

Chris January <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <1372932018.2796.22.camel@gumtree>
On Thu, 2013-07-04 at 09:53 +0100, Chris January wrote:
> On Thu, 2013-07-04 at 08:17 +0000, Agovic, Sanimir wrote:
> > Breakpoint 1, test () at vla.f90:4
> > 4           ALLOCATE(vla (3, 4, 5))
> > $1 = <not allocated>
> > type = integer(kind=4), ALLOCATABLE (0:1,0:1,0:1)
> > 5           ALLOCATE(character(len=2) :: str)
> > $2 = (( ( 0, 0) ( 0, 0) ) ( ( 0, 0) ( 0, 0) ) )
> 
> I have had reports this happens with the Fedora version of gfortran
> 4.7.2 (but not with the Debian version, IIRC) - I will look into it.

GDB 7.2 does not support DWARF 4 (specifically DW_FORM_exprloc in this
case) and that is the cause of this problem.

Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.