pt.c (register_specialization): Push DECL_SOURCE_LOCATION to the clones.
commit2968d410491161912b56a2ec7f7528d06d5ba19d
authorJason Merrill <jason@redhat.com>
Thu, 1 Oct 2009 14:37:08 +0000 (1 10:37 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 1 Oct 2009 14:37:08 +0000 (1 10:37 -0400)
tree231dd165dc3382239b05438e1931cab7f322e2ee
parent3a303360aaa25cc639216d82b3c33b317937cb9d
pt.c (register_specialization): Push DECL_SOURCE_LOCATION to the clones.

* 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.

From-SVN: r152373
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]