gimplify.c (gimplify_init_constructor <case VECTOR_TYPE>): Use a temporary variable if the left hand side is not a gimple register.
2007-01-01 Andrew Pinski <pinskia@gmail.com> * gimplify.c (gimplify_init_constructor <case VECTOR_TYPE>): Use a temporary variable if the left hand side is not a gimple register. From-SVN: r120318
This commit is contained in:
parent
a441d616ba
commit
9bed0a3480
|
@ -1,3 +1,9 @@
|
|||
2007-01-01 Andrew Pinski <pinskia@gmail.com>
|
||||
|
||||
* gimplify.c (gimplify_init_constructor <case VECTOR_TYPE>):
|
||||
Use a temporary variable if the left hand side is not a gimple
|
||||
register.
|
||||
|
||||
2007-01-01 Andrew Pinski <pinskia@gmail.com>
|
||||
|
||||
* gimplify.c (gimplify_return_expr): Make the temporary variable
|
||||
|
|
|
@ -3190,6 +3190,8 @@ gimplify_init_constructor (tree *expr_p, tree *pre_p,
|
|||
if (tret == GS_ERROR)
|
||||
ret = GS_ERROR;
|
||||
}
|
||||
if (!is_gimple_reg (GENERIC_TREE_OPERAND (*expr_p, 0)))
|
||||
GENERIC_TREE_OPERAND (*expr_p, 1) = get_formal_tmp_var (ctor, pre_p);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue