diff options
author | Bernhard Heckel <bernhard.heckel@intel.com> | 2016-09-06 15:45:57 +0200 |
---|---|---|
committer | Bernhard Heckel <bernhard.heckel@intel.com> | 2016-09-07 12:08:02 +0200 |
commit | 538707a5b434ff611d18354151cc9c494c3a5a6a (patch) | |
tree | 1a60d33657241fac2f9d5406a96db8da90de6aa6 /opcodes/ia64-opc-a.c | |
parent | c632ec404b12ecdd3ed2c2d59d48d61883ebc1d6 (diff) | |
download | gdb-538707a5b434ff611d18354151cc9c494c3a5a6a.zip gdb-538707a5b434ff611d18354151cc9c494c3a5a6a.tar.gz gdb-538707a5b434ff611d18354151cc9c494c3a5a6a.tar.bz2 |
Fortran: Fix negative bounds for dynamic allocated arrays.
Fortran arrays might have negative bounds.
Take this into consideration when evaluating
dynamic bound properties.
Bernhard Heckel <bernhard.heckel@intel.com>
gdb/Changelog:
* gdbtypes.c (resolve_dynamic_range):
Call dwarf2_evaluate_property_signed to resolve dynamic bounds.
gdb/Testsuite/Changelog:
* gdb.fortran/vla.f90: Extend by an array with negative bounds.
* gdb/testsuite/gdb.fortran/vla-sizeof.exp: Test array with negative bounds.
* gdb/testsuite/gdb.fortran/vla-ptype.exp: Test array with negative bounds.
Change-Id: Idb35164f72c95a1daafe5db0c0855d742bea5ea7
Diffstat (limited to 'opcodes/ia64-opc-a.c')
0 files changed, 0 insertions, 0 deletions