aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2006-04-08 21:50:04 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2006-04-08 21:50:04 +0000
commit9ccfe0cda479d1f5feae5a1cd20896dfe0c9a04a (patch)
tree32fe72df7eca620b267dafba776d6c8ce0e1432a /gcc/tree.h
parente0f931d27f9e0b7daee2d05a89ccf99c814f0429 (diff)
downloadgcc-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 27f4b0f..b3bc004 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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;