This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] combine: Do another check before splitting a parallel (PR86771)


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  <segher@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]