* dwarf2out.c (resolve_args_picking_1): Deal with DW_OP_GNU_addr_index
and DW_OP_GNU_const_index opcodes.
From-SVN: r271665
+2019-05-27 Eric Botcazou <ebotcazou@adacore.com>
+
+ * dwarf2out.c (resolve_args_picking_1): Deal with DW_OP_GNU_addr_index
+ and DW_OP_GNU_const_index opcodes.
+
2019-05-24 John David Anglin <danglin@gcc.gnu.org>
PR target/90530
case DW_OP_push_object_address:
case DW_OP_call_frame_cfa:
case DW_OP_GNU_variable_value:
+ case DW_OP_GNU_addr_index:
+ case DW_OP_GNU_const_index:
++frame_offset_;
break;
+2019-05-27 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gnat.dg/specs/array4.ads: New test.
+
2019-05-27 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/aliased2.adb: New test.
--- /dev/null
+-- { dg-do compile }
+-- { dg-skip-if "missing -gsplit-dwarf support" { *-*-darwin* } }
+-- { dg-options "-gsplit-dwarf" }
+
+package Array4 is
+
+ type Arr1 is array (Positive range <>) of Boolean;
+
+ Size : Positive := 20;
+
+ type Rec is record
+ A : Arr1 (1 .. Size);
+ end record;
+
+ type Arr2 is array (Positive range <>) of Rec;
+
+end Array4;