diff options
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r-- | gcc/cp/semantics.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index a5b7c50..7c7af3e 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -1600,8 +1600,7 @@ finish_compound_literal (type, initializer_list) tree compound_literal; /* Build a CONSTRUCTOR for the INITIALIZER_LIST. */ - compound_literal = build_nt (CONSTRUCTOR, NULL_TREE, - initializer_list); + compound_literal = build_constructor (NULL_TREE, initializer_list); /* Mark it as a compound-literal. */ TREE_HAS_CONSTRUCTOR (compound_literal) = 1; if (processing_template_decl) |