diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-02 07:46:05 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-02 07:46:05 +0000 |
commit | f7b8c21efc9cfeb63d231668934b7f16b3ac35e0 (patch) | |
tree | a35710fb0fe0f1de07e28239a0d7129a910e6748 /gcc/ada/gcc-interface/decl.c | |
parent | 773d09b9806434d1b85ad83aeff110aac6ea888a (diff) | |
download | gcc-f7b8c21efc9cfeb63d231668934b7f16b3ac35e0.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235701 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
-rw-r--r-- | gcc/ada/gcc-interface/decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c index 14bc1281a9e..f3d2b52671d 100644 --- a/gcc/ada/gcc-interface/decl.c +++ b/gcc/ada/gcc-interface/decl.c @@ -6656,7 +6656,7 @@ elaborate_reference_1 (tree ref, void *data) && TYPE_IS_FAT_POINTER_P (TREE_TYPE (TREE_OPERAND (ref, 0)))) return build3 (COMPONENT_REF, TREE_TYPE (ref), elaborate_reference_1 (TREE_OPERAND (ref, 0), data), - TREE_OPERAND (ref, 1), TREE_OPERAND (ref, 2)); + TREE_OPERAND (ref, 1), NULL_TREE); sprintf (suffix, "EXP%d", ++er->n); return |