]> git.ipfire.org Git - thirdparty/gcc.git/commit
combine: Do another check before splitting a parallel (PR86771)
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Aug 2018 13:41:05 +0000 (13:41 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Aug 2018 13:41:05 +0000 (13:41 +0000)
commit577b0b07be7b7ae4950e28f4221b04adbe123d74
treedb943e0a4811520e72183aad1413716632f942a3
parent8073a3278173a9ab7c5ba2e01cfe1fb0a1b94c00
combine: Do another check before splitting a parallel (PR86771)

When combine splits a resulting parallel into its two SETs, it has to
place one at i2, and the other stays at i3.  This does not work if the
destination of the SET that will be placed at i2 is modified between
i2 and i3.  This patch fixes it.

* combine.c (try_combine): Do not allow splitting a resulting PARALLEL
of two SETs into those two SETs, one to be placed at i2, if that SETs
destination is modified between i2 and i3.

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