diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-13 16:09:12 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-13 16:09:12 +0000 |
commit | 7e21e36b871c8b74af6e675558ed90e71a303154 (patch) | |
tree | 2d51029c455de3c213ceab14b9b1e03d6de564ec /gcc/tree-ssa.c | |
parent | e529f590ddf91264083fc20867cdbbff671d1240 (diff) | |
download | gcc-7e21e36b871c8b74af6e675558ed90e71a303154.tar.gz |
* tree-ssa.c (maybe_optimize_var): Drop TREE_ADDRESSABLE
from vector or complex vars even if their DECL_UID is in not_reg_needs
bitmap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179930 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r-- | gcc/tree-ssa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index 258a7444b08..8f73d9176f2 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -1963,6 +1963,8 @@ maybe_optimize_var (tree var, bitmap addresses_taken, bitmap not_reg_needs) a non-register. Otherwise we are confused and forget to add virtual operands for it. */ && (!is_gimple_reg_type (TREE_TYPE (var)) + || TREE_CODE (TREE_TYPE (var)) == VECTOR_TYPE + || TREE_CODE (TREE_TYPE (var)) == COMPLEX_TYPE || !bitmap_bit_p (not_reg_needs, DECL_UID (var)))) { TREE_ADDRESSABLE (var) = 0; |