diff options
author | Jeff Law <law@redhat.com> | 2004-12-10 10:28:32 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2004-12-10 10:28:32 -0700 |
commit | f914cec23622b17cc1972c1deea6bcfbf843b0fe (patch) | |
tree | 7caf9feb5b5409d057923a729633e46d84e20602 /gcc | |
parent | 036ff63feed89f4e50c1a10ae0761a1764a566e1 (diff) | |
download | gcc-f914cec23622b17cc1972c1deea6bcfbf843b0fe.zip gcc-f914cec23622b17cc1972c1deea6bcfbf843b0fe.tar.gz gcc-f914cec23622b17cc1972c1deea6bcfbf843b0fe.tar.bz2 |
tree-ssa-alias.c (setup_pointers_and_addressables): Remove redundant test of v_ann->mem_tag_kind.
* tree-ssa-alias.c (setup_pointers_and_addressables): Remove
redundant test of v_ann->mem_tag_kind.
* tree-ssa-operands.c (get_indirect_ref_operands): Remove
redundant conditional clearing opf_kill_def.
From-SVN: r92000
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/tree-ssa-alias.c | 1 | ||||
-rw-r--r-- | gcc/tree-ssa-operands.c | 12 |
3 files changed, 8 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa08cb4..0d4929c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2004-12-02 Jeff Law <law@redhat.com> + + * tree-ssa-alias.c (setup_pointers_and_addressables): Remove + redundant test of v_ann->mem_tag_kind. + + * tree-ssa-operands.c (get_indirect_ref_operands): Remove + redundant conditional clearing opf_kill_def. + 2004-12-10 Richard Sandiford <rsandifo@redhat.com> * config/frv/frv-modes.def: Fix comment typos. diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index b321d26..ecdd7f4 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -1402,7 +1402,6 @@ setup_pointers_and_addressables (struct alias_info *ai) if (TREE_ADDRESSABLE (var)) { if (!bitmap_bit_p (ai->addresses_needed, v_ann->uid) - && v_ann->mem_tag_kind == NOT_A_TAG && TREE_CODE (var) != RESULT_DECL && !is_global_var (var)) { 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; |