Commit 9a6c9288 by Richard Guenther Committed by Richard Biener

tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.

2011-01-14  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-structalias.c  (new_var_info): Use DECL_HARD_REGISTER.

From-SVN: r168787
parent 280d9630
2011-01-14 Richard Guenther <rguenther@suse.de> 2011-01-14 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
2011-01-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47280 PR tree-optimization/47280
* tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
return CFG changes. return CFG changes.
......
...@@ -416,7 +416,8 @@ new_var_info (tree t, const char *name) ...@@ -416,7 +416,8 @@ new_var_info (tree t, const char *name)
ret->is_global_var = (is_global_var (t) ret->is_global_var = (is_global_var (t)
/* We have to treat even local register variables /* We have to treat even local register variables
as escape points. */ as escape points. */
|| (TREE_CODE (t) == VAR_DECL && DECL_REGISTER (t))); || (TREE_CODE (t) == VAR_DECL
&& DECL_HARD_REGISTER (t)));
ret->solution = BITMAP_ALLOC (&pta_obstack); ret->solution = BITMAP_ALLOC (&pta_obstack);
ret->oldsolution = BITMAP_ALLOC (&oldpta_obstack); ret->oldsolution = BITMAP_ALLOC (&oldpta_obstack);
ret->next = NULL; ret->next = NULL;
......
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