This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32183] [4.3 Regression] reassoc2 can more extra calculations into a loop
- From: "rakdver at kam dot mff dot cuni dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jun 2007 23:23:26 -0000
- Subject: [Bug tree-optimization/32183] [4.3 Regression] reassoc2 can more extra calculations into a loop
- References: <bug-32183-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #24 from rakdver at kam dot mff dot cuni dot cz 2007-06-04 23:23 -------
Subject: Re: [4.3 Regression] reassoc2 can more extra calculations into a loop
> > > Can anyone show that the newly added dce_loop anything useful?
> >
> > Yes, predictive commoning does not work as well if there is dead code
> > (which is why it was added.
> >
> > > Can we disable it or move it after the second reassoc?
> >
> > Reassoc should be fixed, we should not consider workarounds like this.
>
> Either fix or remove reassoc2 works for me :)
I suppose there was some reason for having reassoc run twice?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32183