[Bug c++/11309] Testsuite failures in g++.dg/expr/anew1.C (and anew2.C anew3.C anew4.c)
--- Comment #11 from jason at gcc dot gnu dot org 2008-07-31 13:16 --- *** Bug 36394 has been marked as a duplicate of this bug. *** -- jason at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11309
[Bug c++/11309] Testsuite failures in g++.dg/expr/anew1.C (and anew2.C anew3.C anew4.c)
--- Comment #9 from jason at gcc dot gnu dot org 2008-07-31 05:08 --- Subject: Bug 11309 Author: jason Date: Thu Jul 31 05:07:10 2008 New Revision: 138355 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138355 Log: PR c++/11309 * tree.c (build_aggr_init_expr): Split out... (build_cplus_new): ...from here. (stabilize_init): Don't mess with AGGR_INIT_EXPR either. * init.c (build_new_1): new T() means value-initialization, not default-initialization. (build_vec_init): Likewise. (build_value_init_1): Use build_aggr_init_expr. Added: trunk/gcc/testsuite/g++.dg/init/value3.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/init.c trunk/gcc/cp/tree.c trunk/gcc/cp/typeck.c trunk/gcc/testsuite/g++.dg/expr/anew4.C trunk/gcc/testsuite/g++.dg/lookup/new1.C trunk/gcc/testsuite/g++.dg/tree-ssa/pr31146-2.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11309
[Bug c++/11309] Testsuite failures in g++.dg/expr/anew1.C (and anew2.C anew3.C anew4.c)
--- Comment #10 from jason at gcc dot gnu dot org 2008-07-31 05:11 --- Fixed for 4.4. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11309
[Bug c++/11309] Testsuite failures in g++.dg/expr/anew1.C (and anew2.C anew3.C anew4.c)
--- Comment #8 from jason at gcc dot gnu dot org 2008-07-29 15:07 --- Not a duplicate, not fixed; the testcases are just xfailed. This PR deals with the valid new T[n](), whereas 2123 deals with the invalid new T[n](init). -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|DUPLICATE | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11309
[Bug c++/11309] Testsuite failures in g++.dg/expr/anew1.C (and anew2.C anew3.C anew4.c)
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org | Status|REOPENED|ASSIGNED Last reconfirmed|2003-11-29 21:03:02 |2008-07-29 22:01:26 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11309