------- Comment #54 from rakdver at kam dot mff dot cuni dot cz  2008-12-10 
18:23 -------
Subject: Re:  [4.3/4.4 Regression] final value replacement too aggressive for
e.g. targets with no native div/mod insns

> Zdenek, it would certainly be helpful to have the original justification for
> your change available.

Unfortunately, I do not remember the exact problems (it is almost two
years since that change was made).  Adding back expression_expensive_p
in some conservative form (e.g., checking that the computation involves
division, perhaps excluding divisions by a power of two) seems like
the easiest way to fix this problem now.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32044

Reply via email to