Re: [PATCH] Fix PR78413

2016-11-21 Thread Richard Biener
On Fri, Nov 18, 2016 at 5:27 PM, Bill Schmidt wrote: > Hi, > > The if-conversion patch for PR77848 missed a case where an outer loop > should not be versioned for vectorization; this was caught by an assert > in tests recorded in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78413. > This patch fix

Re: [PATCH] Fix PR78413

2016-11-18 Thread Bill Schmidt
> On Nov 18, 2016, at 10:33 AM, Markus Trippelsdorf > wrote: > > On 2016.11.18 at 10:27 -0600, Bill Schmidt wrote: >> === >> --- gcc/testsuite/gcc.dg/tree-ssa/pr78413.c (revision 0) >> +++ gcc/testsuite/gcc.dg/tree-ssa/pr78413.c

Re: [PATCH] Fix PR78413

2016-11-18 Thread Markus Trippelsdorf
On 2016.11.18 at 10:27 -0600, Bill Schmidt wrote: > === > --- gcc/testsuite/gcc.dg/tree-ssa/pr78413.c (revision 0) > +++ gcc/testsuite/gcc.dg/tree-ssa/pr78413.c (working copy) > @@ -0,0 +1,35 @@ > +/* PR78413. These previously fai

[PATCH] Fix PR78413

2016-11-18 Thread Bill Schmidt
Hi, The if-conversion patch for PR77848 missed a case where an outer loop should not be versioned for vectorization; this was caught by an assert in tests recorded in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78413. This patch fixes the problem by ensuring that both inner and outer loop latches