mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 10:40:57 +08:00
tree-ssa-pre.c (add_to_value): is_gimple_min_invariant things are available everywhere too.
2004-06-13 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-pre.c (add_to_value): is_gimple_min_invariant things are available everywhere too. From-SVN: r83069
This commit is contained in:
parent
a40de696ac
commit
3bce843ee3
@ -1,3 +1,8 @@
|
||||
2004-06-13 Daniel Berlin <dberlin@dberlin.org>
|
||||
|
||||
* tree-ssa-pre.c (add_to_value): is_gimple_min_invariant things
|
||||
are available everywhere too.
|
||||
|
||||
2004-06-13 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* fold-const.c (fold_checksum_tree <case 't'>): Only
|
||||
|
@ -468,6 +468,11 @@ add_to_value (tree v, tree e)
|
||||
TREE_CONSTANT (v) = true;
|
||||
TREE_CHAIN (v) = e;
|
||||
}
|
||||
else if (is_gimple_min_invariant (e))
|
||||
{
|
||||
TREE_CONSTANT (v) = true;
|
||||
TREE_CHAIN (v) = e;
|
||||
}
|
||||
#if DEBUG_VALUE_EXPRESSIONS
|
||||
if (va->expr_set == NULL)
|
||||
va->expr_set = set_new (false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user