This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/4919: gcse inhibits loop optimization
- From: rth at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, ottoni at ic dot unicamp dot br
- Date: 27 Nov 2001 07:03:49 -0000
- Subject: Re: optimization/4919: gcse inhibits loop optimization
[Get raw message]
Synopsis: gcse inhibits loop optimization
State-Changed-From-To: open->suspended
State-Changed-By: rth
State-Changed-When: Mon Nov 26 23:03:48 2001
State-Changed-Why:
GCSE did exactly what it was supposed to do -- the expression
I+1, which appears twice in the body of the loop, is partially
redundant with the increment of I at the end of the loop.
This isn't really a problem with GCSE, but with the extreme lameness
of our loop optimizer. Hopefully we'll have time to rewrite it from
scratch for gcc 3.2; Jan Hubicka has already volunteered to try.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4919&database=gcc