This is the mail archive of the gcc@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]

Re: loop optimizer naivety


On Tue, Sep 23, 2003 at 10:38:05AM +0200, Eric Botcazou wrote:
> I see you fixed PR opt/10087 by tweaking the loop optimizer. However, it 
> still thinks that the biv is incremented twice and that the total increment 
> is 2, which badly fools the unroller.

The patch for PR opt/10087 was minimal and as non-intrusive as possible
to fix the testcase.  I wasn't very familiar with the loop optimizer and
didn't want to change variables such as 'biv_count' and 'incremented' without
fully understanding what effect it would have in other parts of the code.

I'm willing to look into this, but unfortunately the testcase for PR opt/12340
is difficult to work with and apparently doesn't segfault on my system even
with a vanilla 3.3 branch build.

- glen


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