This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove forwarder blocks in tree-cfgcleanup even at -O0 if they don't change locations (PR debug/44205)
On Fri, May 21, 2010 at 10:33:10AM +0200, Richard Guenther wrote:
> On Fri, 21 May 2010, Jakub Jelinek wrote:
> Ok.
Thanks.
> Is this a regression in 4.5 as we removed the useless pass
> which did some of the jump optimizations in 4.4?
Apparently it is a regression from 4.1/4.2/4.3 in 4.4/4.5/trunk.
Two changes broke this testcase: 1) first 4.3 started using cfglayout
mode even for -O0, but in 4.3 it still worked, as the jumps created
by outof_cfglayout didn't have any locus 2) then something in 4.4
made the jumps have a locus from the goto_locus edges.
So, ok for 4.4/4.5 too? Have already bootstrapped/regtested
it in 4.4 on 6 linux arches.
Jakub