tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from TREE_PUBLIC and DECL_EXTERNAL decls.
2014-06-04 Richard Biener <rguenther@suse.de> * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from TREE_PUBLIC and DECL_EXTERNAL decls. From-SVN: r211233
This commit is contained in:
parent
9ccac7012c
commit
38af3208d5
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-06-04 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
|
||||
TREE_PUBLIC and DECL_EXTERNAL decls.
|
||||
|
||||
2014-06-04 Matthew Fortune <matthew.fortune@imgtec.com>
|
||||
|
||||
* regcprop.c (copyprop_hardreg_forward_1): Account for
|
||||
|
|
|
@ -4528,9 +4528,7 @@ static inline bool
|
|||
may_be_aliased (const_tree var)
|
||||
{
|
||||
return (TREE_CODE (var) != CONST_DECL
|
||||
&& (TREE_PUBLIC (var)
|
||||
|| DECL_EXTERNAL (var)
|
||||
|| TREE_ADDRESSABLE (var))
|
||||
&& TREE_ADDRESSABLE (var)
|
||||
&& !((TREE_STATIC (var) || TREE_PUBLIC (var) || DECL_EXTERNAL (var))
|
||||
&& ((TREE_READONLY (var)
|
||||
&& !TYPE_NEEDS_CONSTRUCTING (TREE_TYPE (var)))
|
||||
|
|
Loading…
Add table
Reference in a new issue