From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2604 invoked by alias); 22 May 2007 17:34:57 -0000 Received: (qmail 2554 invoked by alias); 22 May 2007 17:34:39 -0000 Date: Tue, 22 May 2007 17:34:00 -0000 Message-ID: <20070522173439.2553.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/29286] [4.0/4.1/4.2/4.3 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: "mark at codesourcery dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg01914.txt.bz2 ------- Comment #118 from mark at codesourcery dot com 2007-05-22 18:34 ------- Subject: Re: [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should gdr at cs dot tamu dot edu wrote: > Thanks for reminding all those points. I'll ensure that I make those > points stand in subsequence messages. I think it's also worth pointing out to the committee that the more aggressive aliasing rules (in which only access directly through a union is allowed) have been GNU C/C++ practice for a long time. I would guess that we made this change around the year 2000. So, there's a large body of code that conforms to the requirements of the aggressive interpretation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29286