[Bug c++/54984] [4.6/4.7/4.8 Regression] Array allocated with new in a template class is default initialised
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 26 14:20:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54984
--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-10-26 14:19:51 UTC ---
Author: paolo
Date: Fri Oct 26 14:19:44 2012
New Revision: 192847
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192847
Log:
/cp
2012-10-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54984
* init.c (build_new): Don't turn a null *init into a pointer to
empty vector orig_init.
/testsuite
2012-10-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54984
* g++.dg/template/new11.C: New.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/new11.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/init.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list