From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8634 invoked by alias); 29 Sep 2006 16:19:30 -0000 Received: (qmail 8579 invoked by uid 48); 29 Sep 2006 16:19:20 -0000 Date: Fri, 29 Sep 2006 16:19:00 -0000 Message-ID: <20060929161920.8578.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: "pinskia at gcc dot gnu dot org" 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/msg02766.txt.bz2 List-Id: ------- Comment #9 from pinskia at gcc dot gnu dot org 2006-09-29 16:19 ------- (In reply to comment #8) > Let's suppose for a moment we actually try to fix this issue in the library: is > adding a barrier conforming to the letter of 18.4.1.3/2-3, 5-6, that is: > > Returns: ptr. > Notes: Intentionally performs no other action. 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. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29286