mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 18:31:48 +08:00
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:
parent
280d9630d9
commit
9a6c928887
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user