diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-30 03:52:37 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-30 03:52:37 +0000 |
commit | 1f9b622bb72fbb8256bff4899b2f97cb4c5f5867 (patch) | |
tree | 4b6086cd760db3d4e0eef4da7e0f58d8a24f0d0a /gcc/tree-ssa-loop-ivopts.c | |
parent | 553b7a5dd591a3c394517fb52def0c483b184db8 (diff) | |
download | gcc-1f9b622bb72fbb8256bff4899b2f97cb4c5f5867.tar.gz |
* expr.c (get_inner_reference): Handle REAL/IMAGPART_EXPR.
(handled_component_p): Likewise.
* alias.c (can_address_p): Reformat and simplify. Handle
REAL/IMAGPART_EXPR. Do not disable addressability based on
alias set zero.
* fold-const.c (build_fold_addr_expr_with_type): Remove duplicate
check for REAL/IMAGPART_EXPR.
* gimplify.c (gimplify_compound_lval): Likewise.
* tree-cfg.c (verify_expr): Likewise.
* tree-gimple.c (is_gimple_addressable, get_base_address): Likewise.
* tree-nested.c (build_addr, convert_nonlocal_reference): Likewise.
(convert_local_reference): Likewise.
* tree-ssa-loop-ivopts.c (prepare_decl_rtl): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91511 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
-rw-r--r-- | gcc/tree-ssa-loop-ivopts.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 9bc66599dfe..a08923b9636 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -2162,10 +2162,9 @@ prepare_decl_rtl (tree *expr_p, int *ws, void *data) { case ADDR_EXPR: for (expr_p = &TREE_OPERAND (*expr_p, 0); - (handled_component_p (*expr_p) - || TREE_CODE (*expr_p) == REALPART_EXPR - || TREE_CODE (*expr_p) == IMAGPART_EXPR); - expr_p = &TREE_OPERAND (*expr_p, 0)); + handled_component_p (*expr_p); + expr_p = &TREE_OPERAND (*expr_p, 0)) + continue; obj = *expr_p; if (DECL_P (obj)) x = produce_memory_decl_rtl (obj, regno); |