aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify-me.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimplify-me.c')
-rw-r--r--gcc/gimplify-me.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gimplify-me.c b/gcc/gimplify-me.c
index c80a4ff..28e467b 100644
--- a/gcc/gimplify-me.c
+++ b/gcc/gimplify-me.c
@@ -299,7 +299,8 @@ gimple_regimplify_operands (gimple *stmt, gimple_stmt_iterator *gsi_p)
if (need_temp)
{
tree temp = create_tmp_reg (TREE_TYPE (lhs));
- if (gimple_in_ssa_p (cfun))
+ if (gimple_in_ssa_p (cfun)
+ && is_gimple_reg_type (TREE_TYPE (lhs)))
temp = make_ssa_name (temp);
gimple_set_lhs (stmt, temp);
post_stmt = gimple_build_assign (lhs, temp);