PR middle-end/59743
	* ree.c (combine_reaching_defs): Ensure the defining statement
	occurs before the extension when optimizing extensions with
	different source and destination hard registers.

	PR middle-end/59743
	* gcc.c-torture/compile/pr59743.c: New test.

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