This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46658] [4.6 Regression] internal compiler error on cp/init.c
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jan 2011 11:30:11 +0000
- Subject: [Bug c++/46658] [4.6 Regression] internal compiler error on cp/init.c
- Auto-submitted: auto-generated
- References: <bug-46658-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46658
--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 2011-01-11 11:30:10 UTC ---
Author: jason
Date: Tue Jan 11 11:30:07 2011
New Revision: 168655
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168655
Log:
PR c++/46658
* init.c (build_new_1): Handle value-init in templates differently.
Added:
trunk/gcc/testsuite/g++.dg/template/new10.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/init.c
trunk/gcc/testsuite/ChangeLog