Change mpx effective-target test into link test

	* lib/mpx-dg.exp (check_effective_target_mpx): Change into link test.
	Add main.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218859 138bc75d-0d04-0410-961f-82ee72b054a4
Fix for PR ipa/64146

	PR ipa/64146
	* ipa-icf.c (sem_function::merge): Check for
	decl_binds_to_current_def_p is newly added to merge operation.
	* g++.dg/ipa/pr64146.C: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218860 138bc75d-0d04-0410-961f-82ee72b054a4
Fix for PR bootstrap/63573.

	PR bootstrap/63573
	* tree-inline.c (remap_gimple_stmt): Handle gimple_call_from_thunk_p
	predicate.



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

	PR tree-optimization/64330
	* ipa-icf.c (sem_variable::parse): Add checking
	for externally visible symbols and do not introduce
	an alias for an external declaration.



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