]> git.ipfire.org Git - thirdparty/gcc.git/commit
combine: Don't make an intermediate reg for assigning to sfp (PR87871)
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Nov 2018 21:18:22 +0000 (21:18 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Nov 2018 21:18:22 +0000 (21:18 +0000)
commitb3c6902344c99f12d740e218c0a1e1a273b7c54b
treeae1616cd3a0f335acbde3bf8ab1389e44297c00f
parent7200ac0eb388518c2019698582ed6ed31725f65b
combine: Don't make an intermediate reg for assigning to sfp (PR87871)

The code with an intermediate register is perfectly fine, but LRA
apparently cannot handle the resulting code, or perhaps something else
is wrong.  In either case, making an extra temporary will not likely
help here, so let's just skip it.

PR rtl-optimization/87871
* combine.c (make_more_copies): Skip if dest is frame_pointer_rtx.

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