decl.c (elaborate_reference_1): Do not bother about operand #2 for COMPONENT_REF.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 2 May 2016 07:46:05 +0000 (07:46 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 2 May 2016 07:46:05 +0000 (07:46 +0000)
commit552cc5904c9d064873df6f165c99ef798df5f701
treea35710fb0fe0f1de07e28239a0d7129a910e6748
parent6b9933b9b483b37bbed0a83e6631fff8de14a1f8
decl.c (elaborate_reference_1): Do not bother about operand #2 for COMPONENT_REF.

* gcc-interface/decl.c (elaborate_reference_1): Do not bother about
operand #2 for COMPONENT_REF.
* gcc-interface/utils2.c (gnat_save_expr): Likewise.
(gnat_protect_expr): Likewise.
(gnat_stabilize_reference_1): Likewise.
(gnat_rewrite_reference): Do not bother about operand #3 for ARRAY_REF.
(get_inner_constant_reference): Likewise.
(gnat_invariant_expr): Likewise.
* gcc-interface/trans.c (fold_constant_decl_in_expr): Likewise.

From-SVN: r235701
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils2.c