2014-10-11  Christophe Lyon  <christophe.lyon@linaro.org>

	gcc/testsuite/
	Backport from mainline r216117.
	2014-10-11  Christophe Lyon  <christophe.lyon@linaro.org>
	* lib/target-supports.exp (check_effective_target_shared): New
	function.
        * g++.dg/ipa/devirt-28a.C: Check if -shared is supported.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@216118 138bc75d-0d04-0410-961f-82ee72b054a4