diff options
author | Richard Henderson <rth@redhat.com> | 2005-10-15 17:07:17 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-10-15 17:07:17 -0700 |
commit | 1e188d1e13003433b2efd794a0ae53749dc19d0c (patch) | |
tree | ce736adf1e7d1ab6bdbe217c3eed0c23288c5e0e /gcc/tree-cfg.c | |
parent | 48c410a254046d839bec7337831d6f21394fe12c (diff) | |
download | gcc-1e188d1e13003433b2efd794a0ae53749dc19d0c.zip gcc-1e188d1e13003433b2efd794a0ae53749dc19d0c.tar.gz gcc-1e188d1e13003433b2efd794a0ae53749dc19d0c.tar.bz2 |
re PR middle-end/23714 (ICE in expand_assignment)
PR 23714
* builtins.c (expand_builtin_trap): Export.
* expr.h (expand_builtin_trap): Declare.
* expr.c (expand_assignment): Emit a trap for integral offsets
from registers that weren't reduced to bitpos.
* tree-cfg.c (mark_array_ref_addressable_1): Remove.
(mark_array_ref_addressable): Remove.
* tree-flow.h (mark_array_ref_addressable): Remove.
* tree-optimize.c (execute_cleanup_cfg_post_optimizing): Don't call it.
From-SVN: r105449
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 2a0d75a..90c2730 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -421,39 +421,6 @@ fold_cond_expr_cond (void) } } -/* Mark the array of any remaining ARRAY_REFs as addressable. */ - -static tree -mark_array_ref_addressable_1 (tree *tp, int *walk_subtrees, - void *data ATTRIBUTE_UNUSED) -{ - tree t = *tp; - - if (DECL_P (t) || TYPE_P (t)) - *walk_subtrees = 0; - else if (TREE_CODE (t) == ARRAY_REF) - { - tree base = get_base_address (TREE_OPERAND (t, 0)); - if (base && DECL_P (base)) - TREE_ADDRESSABLE (base) = 1; - } - - return NULL_TREE; -} - -void -mark_array_ref_addressable (void) -{ - basic_block bb; - block_stmt_iterator i; - - FOR_EACH_BB (bb) - { - for (i = bsi_start (bb); !bsi_end_p(i); bsi_next(&i)) - walk_tree (bsi_stmt_ptr (i), mark_array_ref_addressable_1, NULL, NULL); - } -} - /* Join all the blocks in the flowgraph. */ static void |