[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should
mark at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Tue May 22 17:34:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list