On Sun, Sep 30, 2012 at 9:03 PM, Dehao Chen <de...@google.com> wrote: > Hi, > > This patch fixes the bug when comparing location to UNKNOWN_LOC. > > Bootstrapped and passed gcc regression test. > > Okay for trunk?
Ok. Thanks, Richard. > Thanks, > Dehao > > 2012-09-30 Dehao Chen <de...@google.com> > > PR middle-end/54759 > * gcc/tree-vect-loop-manip.c (slpeel_make_loop_iterate_ntimes): Use > LOCATION_LOCUS to compare with UNKNOWN_LOCATION. > (slpeel_tree_peel_loop_to_edge): Likewise. > * gcc/tree-vectorizer.c (vectorize_loops): Likewise.