diff options
Diffstat (limited to 'gcc/tree-dfa.c')
-rw-r--r-- | gcc/tree-dfa.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index f4ad1d2..0aabc80 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@ -206,8 +206,9 @@ make_rename_temp (tree type, const char *prefix) { tree t = create_tmp_var (type, prefix); - if (TREE_CODE (type) == COMPLEX_TYPE) - DECL_COMPLEX_GIMPLE_REG_P (t) = 1; + if (TREE_CODE (TREE_TYPE (t)) == COMPLEX_TYPE + || TREE_CODE (TREE_TYPE (t)) == VECTOR_TYPE) + DECL_GIMPLE_REG_P (t) = 1; if (gimple_referenced_vars (cfun)) { |