optimization/4919: gcse inhibits loop optimization

rth@gcc.gnu.org rth@gcc.gnu.org
Mon Nov 26 23:04:00 GMT 2001


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



More information about the Gcc-bugs mailing list