OSDN Git Service

PR c++/34158
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Nov 2009 18:18:51 +0000 (18:18 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Nov 2009 18:18:51 +0000 (18:18 +0000)
commit2c45a868234d9f20d4aba31f2ef470cd18881da8
tree3f394cf2fa59e3d724a47295615ec350d68884f8
parente5e00276ef0d5334fe6013ef4a6a898e24478f88
PR c++/34158
PR c++/36406
* call.c (non_placement_deallocation_fn_p): Split out...
(build_op_delete_call): ...from here.  Use instantiate_type
for placement delete.  Simplify logic.
* pt.c (primary_template_instantiation_p): Non-static.
* cp-tree.h: Declare it.

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