diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2006-04-08 21:50:04 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2006-04-08 21:50:04 +0000 |
commit | 9ccfe0cda479d1f5feae5a1cd20896dfe0c9a04a (patch) | |
tree | 32fe72df7eca620b267dafba776d6c8ce0e1432a /gcc/tree.h | |
parent | e0f931d27f9e0b7daee2d05a89ccf99c814f0429 (diff) | |
download | gcc-9ccfe0cda479d1f5feae5a1cd20896dfe0c9a04a.zip gcc-9ccfe0cda479d1f5feae5a1cd20896dfe0c9a04a.tar.gz gcc-9ccfe0cda479d1f5feae5a1cd20896dfe0c9a04a.tar.bz2 |
tree.h (tree_memory_tag): Add old_used_alone.
2006-04-08 Daniel Berlin <dberlin@dberlin.org>
* tree.h (tree_memory_tag): Add old_used_alone.
(SMT_OLD_USED_ALONE): New macro.
* tree-ssa-alias.c (recalculate_used_alone): Stop
marking things for renaming unnecessarily.
From-SVN: r112789
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2312,6 +2312,7 @@ struct tree_memory_tag GTY(()) struct tree_decl_minimal common; unsigned int is_global:1; unsigned int is_used_alone:1; + unsigned int old_used_alone:1; }; #define MTAG_GLOBAL(NODE) (TREE_MEMORY_TAG_CHECK (NODE)->mtag.is_global) @@ -2321,6 +2322,11 @@ struct tree_memory_tag GTY(()) from it. */ #define SMT_USED_ALONE(NODE) (SYMBOL_MEMORY_TAG_CHECK (NODE)->mtag.is_used_alone) +/* This flag is used to temporarily store the old value of the used alone + flag when updating so we know whether to mark the symbol for + renaming. */ +#define SMT_OLD_USED_ALONE(NODE) (SYMBOL_MEMORY_TAG_CHECK (NODE)->mtag.old_used_alone) + struct tree_struct_field_tag GTY(()) { struct tree_memory_tag common; |