tree-ssa-pre.c (phi_trans_add): Use is_gimple_min_invariant to check for constants.
authorDiego Novillo <dnovillo@redhat.com>
Wed, 30 Jun 2004 11:06:28 +0000 (11:06 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Wed, 30 Jun 2004 11:06:28 +0000 (07:06 -0400)
commitbddeccfe5d319972ef8dbf23b97870969654e8b1
treefd198b1e6a301537b6f017c6edf424dc0fc22722
parent9ac617d49582c168000b6e593e5c0b4bf2982ee0
tree-ssa-pre.c (phi_trans_add): Use is_gimple_min_invariant to check for constants.

* tree-ssa-pre.c (phi_trans_add): Use is_gimple_min_invariant
to check for constants.
(set_remove): Likewise.
(value_replace_in_set): Likewise.
(find_leader): Likewise.
* tree-vn.c (set_value_handle): Likewise.
(vn_lookup): Likewise.
(vn_lookup_or_add): Likewise.

From-SVN: r83902
gcc/ChangeLog
gcc/tree-ssa-pre.c
gcc/tree-vn.c