]> git.ipfire.org Git - thirdparty/gcc.git/commit
combine: Do another check before splitting a parallel (PR86771)
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 22 Aug 2018 13:41:05 +0000 (15:41 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 22 Aug 2018 13:41:05 +0000 (15:41 +0200)
commit90cb08ca01e22a2b720274611c4e5b05c961ee2c
treedb943e0a4811520e72183aad1413716632f942a3
parent18bc19a7aa4cd08d45d64f6741b8b1e0f48f262b
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.

From-SVN: r263776
gcc/ChangeLog
gcc/combine.c