This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48873] [C++0x][noexcept] Placement-new problem with deleted destructors
- 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: Fri, 20 May 2011 20:18:24 +0000
- Subject: [Bug c++/48873] [C++0x][noexcept] Placement-new problem with deleted destructors
- Auto-submitted: auto-generated
- References: <bug-48873-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48873
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-20 20:01:45 UTC ---
Author: jason
Date: Fri May 20 20:01:42 2011
New Revision: 173979
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173979
Log:
PR c++/48873
* tree.c (stabilize_expr): Don't make gratuitous copies of classes.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/init/new32.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/tree.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog