This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [ tree-ssa] PRE problem
On Fri, 2004-02-20 at 18:48, Daniel Berlin wrote:
> Um, Diego, when do you think that code was written?
> Last week?
> It hasn't been fundamentally touched in ages (I believe someone touched
> the generate_vops part when we moved to having VUSE_OPS_PTR).
>
Dan, what is happening here is that we are only *now* discovering that
the changes made to the copy propagation of pointers were affecting
PRE. It is not a bug in PRE, so don't get all defensive on me :)
When I introduced propagate_copy and may_propagate_copy, I simply didn't
run into this problem. The fix is simple, just teach PRE to use the
value propagation API.
Thanks. Diego.