[Bug c++/34862] [4.3 Regression] operator new placement variant with reference arg not accepted by g++ 4.3

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 22 20:44:00 GMT 2008



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-01-22 20:16 -------
I guess we need to treat DECL_NO_TBAA_P in more places to make it really work,
I suppose the CHANGE_DYNAMIC_TYPE_EXPR fix also doesn't work in all cases for
the same reason.

But as it is mainly the may_alias passes that need the bit, we can probably
use something like a

  NEW_STMT <target_ptr, expr>

that is not a GIMPLE assignment.  Oh well.


-- 


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



More information about the Gcc-bugs mailing list