This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/32183] [4.3 Regression] reassoc2 can more extra calculations into a loop



------- Comment #27 from dberlin at gcc dot gnu dot org  2007-06-05 00:12 -------
Subject: Re:  [4.3 Regression] reassoc2 can more extra calculations into a loop

On 4 Jun 2007 23:35:19 -0000, rakdver at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #26 from rakdver at gcc dot gnu dot org  2007-06-04 23:35 -------
> Created an attachment (id=13656)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13656&action=view)
>  --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13656&action=view)
> patch preventing reassociation across loop boundaries
>

You may want to turn this on only for reassoc2.
For reassoc1, we get benefit from the identities and linearization it
performs, and PRE will move out what needs to be moved out.

It's only the reassoc after loop opts are being performed that
shouldn't be playing with calculations in loops.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32183


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]