OSDN Git Service

* pt.c (register_specialization): Push DECL_SOURCE_LOCATION to the
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Oct 2009 14:37:08 +0000 (14:37 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Oct 2009 14:37:08 +0000 (14:37 +0000)
commit6ce8bd0cf37a9cc3a42fb258b537c15ff6189a5a
tree231dd165dc3382239b05438e1931cab7f322e2ee
parent3683b7b4d9ae5efe479476efac877a3d9a53533e
* pt.c (register_specialization): Push DECL_SOURCE_LOCATION to the
clones.

* decl.c (grok_special_member_properties): Only adjust
TYPE_HAS_COMPLEX_* if the function is defaulted in the class body.
(cp_finish_decl): Push DECL_DELETED_FN/DECL_DEFAULTED_FN to the
clones.

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