This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] 4.1 ivopts bug
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.