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, vectorizer] Fix PR tree-optimization/37539 - hang in vect_transform_strided_load



"Richard Guenther" <richard.guenther@gmail.com> wrote on 18/09/2008
14:13:24:

> > -                 rel_stmt = STMT_VINFO_RELATED_STMT (vinfo_for_stmt
> > (rel_stmt));
> > -               }
> > -             STMT_VINFO_RELATED_STMT (vinfo_for_stmt (prev_stmt)) =
> > new_stmt;));
>
> extra parens here? ...

It's mail's fault. I don't have them in the patch.

Ira

>
> > +              if (!DR_GROUP_SAME_DR_STMT (vinfo_for_stmt (next_stmt)))
> > +                {
> > +                 gimple prev_stmt =
> > +                   STMT_VINFO_VEC_STMT (vinfo_for_stmt (next_stmt));))
>
> and here.
>
> > +                 gimple rel_stmt =
> > +                   STMT_VINFO_RELATED_STMT (vinfo_for_stmt
(prev_stmt));
> > +                 while (rel_stmt)
> > +                   {
> > +                     prev_stmt = rel_stmt;
> > +                     rel_stmt =
> > +                        STMT_VINFO_RELATED_STMT (vinfo_for_stmt
> > (rel_stmt));;));
> > +                   }
> > +
> > +                 STMT_VINFO_RELATED_STMT (vinfo_for_stmt (prev_stmt))
=
> > +                    new_stmt;
> > +                }
> >             }
> > +
> >          next_stmt = DR_GROUP_NEXT_DR (vinfo_for_stmt (next_stmt));))
>
> and here.


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