Re: [PATCH] Fix PR middle-end/54759

2012-10-01 Thread Richard Guenther
On Sun, Sep 30, 2012 at 9:03 PM, Dehao Chen 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 > > PR middle-end/54759 > * gcc/

[PATCH] Fix PR middle-end/54759

2012-09-30 Thread Dehao Chen
Hi, This patch fixes the bug when comparing location to UNKNOWN_LOC. Bootstrapped and passed gcc regression test. Okay for trunk? Thanks, Dehao 2012-09-30 Dehao Chen PR middle-end/54759 * gcc/tree-vect-loop-manip.c (slpeel_make_loop_iterate_ntimes): Use LOCATION_LOCUS to compare with UNKNO