------- 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 <[EMAIL PROTECTED]> 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