/cp
2013-05-14  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/53903
	* method.c (defaulted_late_check): Check for compatible exception
	specification out of class explicitly defaulted functions too.

/testsuite
2013-05-14  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/53903
	* g++.dg/cpp0x/defaulted43.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198886 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57041
	* pt.c (tsubst_copy_and_build): Don't recur into a designator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198887 138bc75d-0d04-0410-961f-82ee72b054a4