dwarf2out.c (resolve_args_picking_1): Deal with DW_OP_GNU_addr_index and DW_OP_GNU_const_index opcodes.

* dwarf2out.c (resolve_args_picking_1): Deal with DW_OP_GNU_addr_index
	and DW_OP_GNU_const_index opcodes.

From-SVN: r271664
This commit is contained in:
Eric Botcazou 2019-05-27 16:08:19 +00:00
parent d16b9d1cb6
commit 7e8ae6c818
4 changed files with 30 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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-27 Uroš Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (STACK_SIZE_MODE): Define.

View File

@ -17906,6 +17906,8 @@ resolve_args_picking_1 (dw_loc_descr_ref loc, unsigned initial_frame_offset,
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;

View File

@ -1,7 +1,12 @@
2019-05-27 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/specs/array4.ads: New test.
2019-05-27 Christophe Lyon <christophe.lyon@linaro.org>
PR tree-optimization/88440
* gcc.target/aarch64/sve/index_offset_1.c: Add -fno-tree-loop-distribute-patterns.
* gcc.target/aarch64/sve/index_offset_1.c: Add
-fno-tree-loop-distribute-patterns.
* gcc.target/aarch64/sve/single_1.c: Likewise.
* gcc.target/aarch64/sve/single_2.c: Likewise.
* gcc.target/aarch64/sve/single_3.c: Likewise.

View File

@ -0,0 +1,17 @@
-- { 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;