------- Comment #38 from mark at codesourcery dot com 2007-05-04 03:47 ------- Subject: Re: [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should
rguenth at gcc dot gnu dot org wrote: > ------- Comment #36 from rguenth at gcc dot gnu dot org 2007-05-03 21:59 > ------- > Well, the patch in comment #33 really does what I did with the patch to > libstdc++. I think that Ian's second patch (the heavy hammer of a memory clobber, generated by the front end) is also reasonable. It's more heavy-handed than Ian's earlier solution, but certainly less intrusive and easier to get right. I think that either of these solutions will make user code work as expected, which is the most important consideration. I guess my inclination would be to go with the heavy hammer, until/unless we start finding real code that's seriously impacted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29286
