[patch] 4.1 ivopts bug

Richard Guenther richard.guenther@gmail.com
Fri Mar 31 13:25:00 GMT 2006


On 3/31/06, Paul Brook <paul@codesourcery.com> wrote:
> On Friday 31 March 2006 04:35, Paul Brook wrote:
> > The attached patch backports a couple of ivopts changes from mainline to
> > 4.1. While they were nominally to fix missed optimization opportunities, it
> > appears they also fix a a wrong-code bug.
> >
> > When compiling the code below with -O1 the .t75.ivcanon dump contains:
> > (set_nb_iterations_in_loop = 357913943B)
> > And the resulting code is incorrect.
>
> In case it wasn't clear, this is a regression.

Is there a PR for the 4.1 regression?  Is the testcase you quoted in
the body taken
from the mainline testsuite?  If not, the testcase should be added there, too.

Richard.



More information about the Gcc-patches mailing list