diff options
author | Zdenek Dvorak <dvorakz@suse.cz> | 2006-05-15 20:24:55 +0200 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2006-05-15 18:24:55 +0000 |
commit | 95dd3097939517ea3a4f7631407f9300288a98e3 (patch) | |
tree | 766c14ddc673f894d7d8cfdf171c0bcd960c9c28 /gcc/print-tree.c | |
parent | f8f80cbb624c69bf1397bd71cc5181cebdce43fe (diff) | |
download | gcc-95dd3097939517ea3a4f7631407f9300288a98e3.zip gcc-95dd3097939517ea3a4f7631407f9300288a98e3.tar.gz gcc-95dd3097939517ea3a4f7631407f9300288a98e3.tar.bz2 |
re PR tree-optimization/26830 (Repeated SSA update during loop header copying)
PR tree-optimization/26830
* tree-into-ssa.c (struct ssa_name_info): Add age field.
(info_for_ssa_name, current_info_for_ssa_name_age,
blocks_to_update): New variables.
(get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
(clear_ssa_name_info, initialize_flags_in_bb,
mark_block_for_update): New functions.
(mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
(insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
prepare_def_site_for): Use mark_block_for_update.
(mark_def_interesting): Assert that the processed block is marked in
blocks_to_update. Do not take blocks argument.
(prepare_use_sites_for, prepare_names_to_update): Do not take blocks
argument.
(rewrite_update_init_block, rewrite_update_stmt): Only process
blocks with statements to rewrite.
(delete_update_ssa): Do not clear SSA_NAME_AUX.
(update_ssa): Initialize and free blocks_to_update. Do not
clear flags on statements. Do not use blocks bitmap.
* tree.h (SSA_NAME_AUX): Removed.
(struct tree_ssa_name): Removed aux field.
* print-tree.c (print_node): Do not print SSA_NAME_AUX.
From-SVN: r113799
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r-- | gcc/print-tree.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c index eed02f2..bfa3ac0 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -822,8 +822,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent) fprintf (file, " in-free-list"); if (SSA_NAME_PTR_INFO (node) - || SSA_NAME_VALUE (node) - || SSA_NAME_AUX (node)) + || SSA_NAME_VALUE (node)) { indent_to (file, indent + 3); if (SSA_NAME_PTR_INFO (node)) @@ -832,8 +831,6 @@ print_node (FILE *file, const char *prefix, tree node, int indent) if (SSA_NAME_VALUE (node)) fprintf (file, " value %p", (void *) SSA_NAME_VALUE (node)); - if (SSA_NAME_AUX (node)) - fprintf (file, " aux %p", SSA_NAME_AUX (node)); } break; |