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

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 29 16:19:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list