On Wed, Aug 22, 2018 at 01:19:44PM +0000, Segher Boessenkool wrote: > 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. > > Tested on powerpc64-linux {-m32,-m64}, and the reported failing fortran > testcase on an arm-linux-gnueabi crosscompiler (by inspection). > > Committing. > > > 2018-08-22 Segher Boessenkool <seg...@kernel.crashing.org> > > * 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.
I backported this to 8 now. Segher