Commit 3bce843e by Daniel Berlin Committed by Daniel Berlin

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
parent a40de696
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment