mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 21:01:22 +08:00
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
This commit is contained in:
parent
9b282d7722
commit
d17791d66d
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* parser.c (cp_lexer_new_main): Usr GGC_RESIZEVEC instead of
|
||||
|
@ -2931,7 +2931,7 @@ simplify_aggr_init_expr (tree *tp)
|
||||
call_expr = build_aggr_init (slot, call_expr,
|
||||
DIRECT_BIND | LOOKUP_ONLYCONVERTING);
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user