This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2007 20:45:30 -0000
- Subject: [Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should
- References: <bug-29286-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #34 from pcarlini at suse dot de 2007-05-03 21:45 -------
First blush, I'm not enthusiastic about this last proposal. Seems to me just a
concealed way to do what Richard suggested at the beginning of this thread. As
such, I'm still finding it, in spirit at least, against the letter of
18.4.1.3/1-3, according to which placement new returns the ptr, and
"*intentionally* (emphasis mine) performs no other action".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29286