diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-07 22:23:26 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-07 22:23:26 +0000 |
commit | c22ba30fde24bab2a70eea2c2e530b17198bf6c0 (patch) | |
tree | 69e1814e576690f14ef7f3bcaba222527d7ee4e5 /gcc/tree-flow.h | |
parent | 378eb4b76e619ee5a3692bb728aa13eeabb38c4e (diff) | |
download | gcc-c22ba30fde24bab2a70eea2c2e530b17198bf6c0.tar.gz |
2007-07-07 Daniel Berlin <dberlin@dberlin.org>
Revert (note the sccvn portions are *not* reverted)
2007-07-06 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/23488
* tree-vn.c (set_value_handle): Use decl_vh_map for decl value
handles.
* tree-flow-inline.h (get_value_handle): Ditto.
* tree-ssa-pre.c (decl_vh_map): New.
(decl_node_pool): New.
(can_value_number_operation): Support DECL_P.
(can_PRE_operation): Ditto.
(create_expression_by_pieces): Ditto.
(find_existing_value_expr): Modify to differnetiate between
addressing and top level.
(create_value_handle_for_expr): Handle DECL's.
(poolify_tree): Ditto.
(make_values_for_phi): Don't insert into PHI_GEN during FRE.
(make_values_for_stmt): Handle DECL's properly.
(init_pre): Reorg to not init useless things during FRE.
(fini_pre): Ditto.
* tree-flow.h: Include pointer-set.h.
(decl_vh_map): Declare.
* Makefile.in (TREE_FLOW_H): Add pointer-set.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126449 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index d521a16b933..542f5f85f3d 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */ #include "tree-ssa-operands.h" #include "cgraph.h" #include "ipa-reference.h" -#include "pointer-set.h" /* Forward declare structures for the garbage collector GTY markers. */ #ifndef GCC_BASIC_BLOCK_H @@ -1082,7 +1081,7 @@ extern bool maybe_clean_or_replace_eh_stmt (tree, tree); void add_to_value (tree, tree); void debug_value_expressions (tree); void print_value_expressions (FILE *, tree); -extern struct pointer_map_t *decl_vh_map; + /* In tree-vn.c */ tree make_value_handle (tree); |