diff options
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index ad004bb..25f2c32 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -605,6 +605,8 @@ get_target_expr (tree init) { if (TREE_CODE (init) == AGGR_INIT_EXPR) return build_target_expr (AGGR_INIT_EXPR_SLOT (init), init); + else if (TREE_CODE (init) == VEC_INIT_EXPR) + return build_target_expr (VEC_INIT_EXPR_SLOT (init), init); else return build_target_expr_with_type (init, TREE_TYPE (init)); } |