This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] 4.1 ivopts bug
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 31 Mar 2006 14:11:54 +0100
- Subject: Re: [patch] 4.1 ivopts bug
- References: <200603310435.45027.paul@codesourcery.com>
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.
Paul