[Bug tree-optimization/32044] [4.3/4.4 Regression] final value replacement too aggressive for e.g. targets with no native div/mod insns
rakdver at kam dot mff dot cuni dot cz
gcc-bugzilla@gcc.gnu.org
Wed Dec 10 18:24:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list