Commit d17791d6 by Richard Guenther Committed by Richard Biener

semantics.c (simplify_aggr_init_expr): Use buildN instead of build.

2005-12-02  Richard Guenther  <rguenther@suse.de>

	* semantics.c (simplify_aggr_init_expr): Use buildN instead
	of build.

From-SVN: r107903
parent 9b282d77
2005-12-02 Richard Guenther <rguenther@suse.de>
* semantics.c (simplify_aggr_init_expr): Use buildN instead
of build.
2005-12-02 Gabriel Dos Reis <gdr@integrable-solutions.net> 2005-12-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
* parser.c (cp_lexer_new_main): Usr GGC_RESIZEVEC instead of * parser.c (cp_lexer_new_main): Usr GGC_RESIZEVEC instead of
......
...@@ -2931,7 +2931,7 @@ simplify_aggr_init_expr (tree *tp) ...@@ -2931,7 +2931,7 @@ simplify_aggr_init_expr (tree *tp)
call_expr = build_aggr_init (slot, call_expr, call_expr = build_aggr_init (slot, call_expr,
DIRECT_BIND | LOOKUP_ONLYCONVERTING); DIRECT_BIND | LOOKUP_ONLYCONVERTING);
pop_deferring_access_checks (); pop_deferring_access_checks ();
call_expr = build (COMPOUND_EXPR, TREE_TYPE (slot), call_expr, slot); call_expr = build2 (COMPOUND_EXPR, TREE_TYPE (slot), call_expr, slot);
} }
*tp = call_expr; *tp = call_expr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment