On Tue, Jul 28, 2015 at 12:32 AM, Tom de Vries <tom_devr...@mentor.com> wrote: > On 24/07/15 12:30, Tom de Vries wrote: >> >> On 13/07/15 16:55, Tom de Vries wrote: >>> >>> Hi, >>> >>> this patch fixes PR66851. >>> >>> In parloops, we manage to parallelize outer loops, but not if the inner >>> loop contains a reduction. There is an xfail in autopar/outer-4.c for >>> this: >>> ... >>> /* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 >>> "parloops" { xfail *-*-* } } } */ >>> ... >>> >>> This patch allows outer loops with a reduction in the inner loop to be >>> parallelized. >>> > > Updated patch checks that we actually have an inner reduction that we can > parallelize. So, uns-outer-4.c with unsigned int reduction will be > paralellized, while outer-4.c with signed int reduction will not be > paralellized. > > Bootstrapped on x86_64, reg-test in progress. > > > OK for trunk?
Ok. Richard. > Thanks, > - Tom >