[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

ian at airs dot com gcc-bugzilla@gcc.gnu.org
Wed May 16 17:02:00 GMT 2007



------- Comment #76 from ian at airs dot com  2007-05-16 18:01 -------
I don't believe that the C++ standards writers really meant to eliminate TBAA. 
And that is the inevitable consequence of the dynamic memory type approach if
you are allowed to change the dynamic type in a function.

If we really want to adopt that approach, then the simple fix is for the C++
frontend to set flag_strict_aliasing to 0.  But I don't think we want to do
that.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29286



More information about the Gcc-bugs mailing list