* init.c (build_new_1): Use get_target_expr instead of save_expr.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Aug 2007 17:03:23 +0000 (17:03 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Aug 2007 17:03:23 +0000 (17:03 +0000)
commit51020624b05252b773c1e5df261cd37446c5aded
treeebea38fada90f5475a4dd477437bd6ada79d5ddb
parentd25dc80e2b6453982a01ef22602418db72c811d0
* init.c (build_new_1): Use get_target_expr instead of save_expr.

* g++.dg/init/new24.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127668 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/new24.C [new file with mode: 0644]