This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34862] [4.3 Regression] operator new placement variant with reference arg not accepted by g++ 4.3
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2008 20:16:22 -0000
- Subject: [Bug c++/34862] [4.3 Regression] operator new placement variant with reference arg not accepted by g++ 4.3
- References: <bug-34862-12838@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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