loop optimizer naivety

Glen Nakamura glen@imodulo.com
Tue Sep 23 10:27:00 GMT 2003


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



More information about the Gcc mailing list