[PATCH][lower-subreg] Fix PR87507

Eric Botcazou ebotcazou@adacore.com
Wed Nov 14 00:07:00 GMT 2018


> 	PR rtl-optimization/87507
> 	* lower-subreg.c (operand_for_simple_move_operator): New function.
> 	(simple_move): Strip simple operators.
> 	(find_pseudo_copy): Likewise.
> 	(resolve_operand_for_simple_move_operator): New function.
> 	(resolve_simple_move): Strip simple operators and swap operands.
> 
> gcc/testsuite/
> 	PR rtl-optimization/87507
> 	* gcc.target/powerpc/pr87507.c: New test.
> 	* gcc.target/powerpc/pr68805.c: Update expected results.

OK with the s/simple/swap/ change suggested by Richard.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list