/cp
2014-05-07  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/61083
	* pt.c (convert_nontype_argument): Protect all the error calls
	with complain & tf_error.

/testsuite
2014-05-07  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/61083
	* g++.dg/cpp0x/sfinae50.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210184 138bc75d-0d04-0410-961f-82ee72b054a4
Const-correctness of gimple_call_builtin_p

gcc/
2014-05-07  David Malcolm  <dmalcolm@redhat.com>

	* gimple.h (gimple_builtin_call_types_compatible_p): Accept a
	const_gimple, rather than a gimple.
	(gimple_call_builtin_p): Likewise, for the three variants.

	* gimple.c (gimple_builtin_call_types_compatible_p): Likewise.
	(gimple_call_builtin_p): Likewise, for the three variants.



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