* fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case.
	<CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210518 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-16  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/60969
	* ira-costs.c (record_reg_classes): Allow only memory for pseudo.
	Calculate costs for this case.

2014-05-16  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/60969
	* g++.dg/pr60969.C: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210520 138bc75d-0d04-0410-961f-82ee72b054a4
/cp
2014-05-16  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51640
	* parser.c (cp_parser_diagnose_invalid_type_name): Early return
	when cp_parser_lookup_name sets ambiguous_decls.

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

	PR c++/51640
	* g++.dg/parse/error54.C: New.


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