tree-ssa-ccp.c (get_default_value): If we have a constant value recorded for an SSA_N...
authorJeff Law <law@redhat.com>
Wed, 22 Sep 2004 04:07:23 +0000 (22:07 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 22 Sep 2004 04:07:23 +0000 (22:07 -0600)
commit195da47bbbf6402e3147dc1e6be6cacde140f7f3
treeba1ee7d893d35a339821c16a830d1a3c262c07e7
parent0a4f0294304e28e3a5012ac4e1eaf966314de0c2
tree-ssa-ccp.c (get_default_value): If we have a constant value recorded for an SSA_NAME...

* tree-ssa-ccp.c (get_default_value): If we have a constant
value recorded for an SSA_NAME, then use that constant as
the initial lattice value.
(substitute_and_fold): Transfer equivalences discovered into
SSA_NAME_EQUIV.

* tree.h (SSA_NAME_EQUIV): Add comments.
(SET_SSA_NAME_EQUIV): Similarly.

From-SVN: r87844
gcc/ChangeLog
gcc/tree-ssa-ccp.c
gcc/tree.h