ChangeLog:
2014-05-26  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

	PR rtl-optimization/61220
	Part of PR rtl-optimization/61225
	* shrink-wrap.c (move_insn_for_shrink_wrap): Skip SP and FP adjustment
	insn; skip split_edge for a block with only one successor.

testsuite/ChangeLog:
2014-05-26  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

	* gcc.dg/pr61220.c: New test.
	* gcc.dg/shrink-wrap-loop.c: Disable for x86_64 -m32 mode.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210921 138bc75d-0d04-0410-961f-82ee72b054a4
ChangeLog:
2014-05-26  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

	PR rtl-optimization/61278
	* shrink-wrap.c (move_insn_for_shrink_wrap): Check df_live.

testsuite/ChangeLog:
2014-05-26  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

	* gcc.dg/lto/pr61278_0.c: New test.
	* gcc.dg/lto/pr61278_1.c: New test.



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