aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-gimple.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-gimple.c')
-rw-r--r--gcc/tree-gimple.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-gimple.c b/gcc/tree-gimple.c
index 60d9afc..f3a5db7 100644
--- a/gcc/tree-gimple.c
+++ b/gcc/tree-gimple.c
@@ -316,8 +316,9 @@ is_gimple_reg (tree t)
/* Complex values must have been put into ssa form. That is, no
assignments to the individual components. */
- if (TREE_CODE (TREE_TYPE (t)) == COMPLEX_TYPE)
- return DECL_COMPLEX_GIMPLE_REG_P (t);
+ if (TREE_CODE (TREE_TYPE (t)) == COMPLEX_TYPE
+ || TREE_CODE (TREE_TYPE (t)) == VECTOR_TYPE)
+ return DECL_GIMPLE_REG_P (t);
return true;
}