diff options
author | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-16 13:47:54 +0000 |
---|---|---|
committer | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-16 13:47:54 +0000 |
commit | 8be5e865a9e39fd7650bee6e4d87de418cdb0409 (patch) | |
tree | 5635dbd93744619092d9488f5d8c454a19342253 /gcc/tree-vect-patterns.c | |
parent | 4a5ae34fc494f15e22c07f74988164d66daca45c (diff) | |
download | gcc-8be5e865a9e39fd7650bee6e4d87de418cdb0409.tar.gz |
PR tree-optimization/50727
* tree-vect-patterns.c (vect_operation_fits_smaller_type): Add
DEF_STMT to the list of statements to be replaced by the
pattern statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180060 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-patterns.c')
-rw-r--r-- | gcc/tree-vect-patterns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-vect-patterns.c b/gcc/tree-vect-patterns.c index b43ccc3de59..da2eb3d9ffe 100644 --- a/gcc/tree-vect-patterns.c +++ b/gcc/tree-vect-patterns.c @@ -1003,6 +1003,7 @@ vect_operation_fits_smaller_type (gimple stmt, tree def, tree *new_type, || TREE_TYPE (gimple_assign_lhs (new_stmt)) != interm_type) return false; + VEC_safe_push (gimple, heap, *stmts, def_stmt); oprnd = gimple_assign_lhs (new_stmt); } else |