diff options
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index f8d7015..fc43a19 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -1374,18 +1374,6 @@ get_indirect_ref_operands (tree stmt, tree expr, int flags) /* Stores into INDIRECT_REF operands are never killing definitions. */ flags &= ~opf_kill_def; - if (REF_ORIGINAL (expr)) - { - enum tree_code ocode = TREE_CODE (REF_ORIGINAL (expr)); - - /* If we originally accessed part of a structure, we do it still. */ - if (ocode == ARRAY_REF - || ocode == COMPONENT_REF - || ocode == REALPART_EXPR - || ocode == IMAGPART_EXPR) - flags &= ~opf_kill_def; - } - if (SSA_VAR_P (ptr)) { struct ptr_info_def *pi = NULL; |