From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10297 invoked by alias); 29 Sep 2006 16:23:57 -0000 Received: (qmail 10100 invoked by uid 48); 29 Sep 2006 16:23:47 -0000 Date: Fri, 29 Sep 2006 16:23:00 -0000 Message-ID: <20060929162347.10099.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/29286] [4.2 Regression] placement new does not change the dynamic type as it should In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pcarlini at suse dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-09/txt/msg02767.txt.bz2 List-Id: ------- Comment #10 from pcarlini at suse dot de 2006-09-29 16:23 ------- (In reply to comment #9) > There has to be some communutation between the library and the compiler to tell > it that the memory location is being reused as defined by 3.8 of the standard. Yes. But considering that the placement forms cannot be replaced by an user program, isn't conceptually cleaner for the C++ front-end to simply recognize those forms and do the right thing? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29286