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
This commit is contained in:
Richard Guenther 2011-01-14 14:58:01 +00:00 committed by Richard Biener
parent 280d9630d9
commit 9a6c928887
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -416,7 +416,8 @@ new_var_info (tree t, const char *name)
ret->is_global_var = (is_global_var (t)
/* We have to treat even local register variables
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->oldsolution = BITMAP_ALLOC (&oldpta_obstack);
ret->next = NULL;