Skip to content
Snippets Groups Projects
Commit edc0a75b authored by dberlin's avatar dberlin
Browse files

2004-06-13 Daniel Berlin <dberlin@dberlin.org>

	* tree-ssa-pre.c (add_to_value): is_gimple_min_invariant things
	are available everywhere too.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83069 138bc75d-0d04-0410-961f-82ee72b054a4
parent 419ec660
No related branches found
No related tags found
No related merge requests found
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> 2004-06-13 Andrew Pinski <pinskia@physics.uc.edu>
   
* fold-const.c (fold_checksum_tree <case 't'>): Only * fold-const.c (fold_checksum_tree <case 't'>): Only
......
...@@ -468,6 +468,11 @@ add_to_value (tree v, tree e) ...@@ -468,6 +468,11 @@ add_to_value (tree v, tree e)
TREE_CONSTANT (v) = true; TREE_CONSTANT (v) = true;
TREE_CHAIN (v) = e; TREE_CHAIN (v) = e;
} }
else if (is_gimple_min_invariant (e))
{
TREE_CONSTANT (v) = true;
TREE_CHAIN (v) = e;
}
#if DEBUG_VALUE_EXPRESSIONS #if DEBUG_VALUE_EXPRESSIONS
if (va->expr_set == NULL) if (va->expr_set == NULL)
va->expr_set = set_new (false); va->expr_set = set_new (false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment