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: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2008 10:25:18 -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 #9 from jakub at gcc dot gnu dot org 2008-01-28 10:25 -------
Ian, the testcase would be new16.C after removing CHANGE_DYNAMIC_TYPE_EXPR
stuff
(to fix this PR). Or do you propose to keep CHANGE_DYNAMIC_TYPE_EXPR in 4.3
(which looks redundant with PR33407) and just hack it up to avoid doing it
if operator new second argument is a reference to pointer rather than a
pointer?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34862