diff options
author | Jan Hubicka <jh@suse.cz> | 2006-09-12 12:11:04 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2006-09-12 10:11:04 +0000 |
commit | 93c094b52446169562292970e81c963517b58b37 (patch) | |
tree | 266a9bc23ee1dd47eaa2dd6b1ce2a9e99f2bdc7f /gcc/tree-vectorizer.h | |
parent | 5f86874e9f21a041d50230024699d8d0cef78bf3 (diff) | |
download | gcc-93c094b52446169562292970e81c963517b58b37.zip gcc-93c094b52446169562292970e81c963517b58b37.tar.gz gcc-93c094b52446169562292970e81c963517b58b37.tar.bz2 |
re PR middle-end/28071 (A file that can not be compiled in reasonable time/space)
PR rtl-optimization/28071
* tree-vect-transform.c (vect_create_data_ref_ptr): Kill cast.
(vect_transform_loop): Likewise.
* tree-vectorizer.c (new_loop_vec_info): Likewise.
(new_loop_vec_info): Likewise.
(destroy_loop_vec_info): Likewise.
* tree-dfa.c (create_var_ann): Use GCC_CNEW.
(create_stmt_ann): Likewise.
(create_tree_ann): Rename to ...
(create_tree_common_ann): ... this one; allocate only the common part
of annotations.
* tree-vn.c (set_value_handle): Use get_tree_common_ann.
(get_value_handle): Likewise.
* tree-ssa-pre.c (phi_translate): Delay annotation allocation for
get_tree_common_ann.
* tree-vectorizer.h (set_stmt_info): Take stmt annotation.
(vinfo_for_stmt): Use stmt annotations.
* tree-flow.h (tree_ann_common_t): New type.
(tree_common_ann, get_tree_common_ann, create_tree_common_ann): New.
(tree_ann, get_tree_ann, create_tree_ann): New.
* tree-flow-inline.h (get_function_ann): Do more type checking.
(stmt_ann): Likewise.
(tree_ann): Rename to ...
(tree_common_ann): ... this one; return ony common_ann
(get_tree_ann): Rename to ...
(tree_common_ann): This one; return only common_ann.
* tree-vect-patterns.c (vect_pattern_recog_1): Update call
of set_stmt_info.
From-SVN: r116886
Diffstat (limited to 'gcc/tree-vectorizer.h')
-rw-r--r-- | gcc/tree-vectorizer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h index 3b7ca1b..536aae8 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -242,11 +242,11 @@ typedef struct _stmt_vec_info { #define STMT_VINFO_SAME_ALIGN_REFS(S) (S)->same_align_refs #define STMT_VINFO_DEF_TYPE(S) (S)->def_type -static inline void set_stmt_info (tree_ann_t ann, stmt_vec_info stmt_info); +static inline void set_stmt_info (stmt_ann_t ann, stmt_vec_info stmt_info); static inline stmt_vec_info vinfo_for_stmt (tree stmt); static inline void -set_stmt_info (tree_ann_t ann, stmt_vec_info stmt_info) +set_stmt_info (stmt_ann_t ann, stmt_vec_info stmt_info) { if (ann) ann->common.aux = (char *) stmt_info; @@ -255,7 +255,7 @@ set_stmt_info (tree_ann_t ann, stmt_vec_info stmt_info) static inline stmt_vec_info vinfo_for_stmt (tree stmt) { - tree_ann_t ann = tree_ann (stmt); + stmt_ann_t ann = stmt_ann (stmt); return ann ? (stmt_vec_info) ann->common.aux : NULL; } |