From ec878c4f27bd60c90783157b65c3632644c42839 Mon Sep 17 00:00:00 2001 From: rguenth Date: Tue, 29 Jun 2010 14:02:23 +0000 Subject: [PATCH] 2010-06-29 Richard Guenther * tree-dfa.c (dump_variable): Remove noalias_state dumping. * tree-flow.h (enum noalias_state): Remove. (struct var_ann_d): Remove noalias_state member. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161535 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/tree-dfa.c | 12 ------------ gcc/tree-flow.h | 28 ---------------------------- 3 files changed, 6 insertions(+), 40 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8beace5..ff7f4fd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-06-29 Richard Guenther + + * tree-dfa.c (dump_variable): Remove noalias_state dumping. + * tree-flow.h (enum noalias_state): Remove. + (struct var_ann_d): Remove noalias_state member. + 2010-06-29 Bernd Schmidt PR target/43902 diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index 485ebcf..6d016fd 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@ -242,8 +242,6 @@ debug_referenced_vars (void) void dump_variable (FILE *file, tree var) { - var_ann_t ann; - if (TREE_CODE (var) == SSA_NAME) { if (POINTER_TYPE_P (TREE_TYPE (var))) @@ -259,8 +257,6 @@ dump_variable (FILE *file, tree var) print_generic_expr (file, var, dump_flags); - ann = var_ann (var); - fprintf (file, ", UID D.%u", (unsigned) DECL_UID (var)); if (DECL_PT_UID (var) != DECL_UID (var)) fprintf (file, ", PT-UID D.%u", (unsigned) DECL_PT_UID (var)); @@ -277,14 +273,6 @@ dump_variable (FILE *file, tree var) if (TREE_THIS_VOLATILE (var)) fprintf (file, ", is volatile"); - if (ann && ann->noalias_state == NO_ALIAS) - fprintf (file, ", NO_ALIAS (does not alias other NO_ALIAS symbols)"); - else if (ann && ann->noalias_state == NO_ALIAS_GLOBAL) - fprintf (file, ", NO_ALIAS_GLOBAL (does not alias other NO_ALIAS symbols" - " and global vars)"); - else if (ann && ann->noalias_state == NO_ALIAS_ANYTHING) - fprintf (file, ", NO_ALIAS_ANYTHING (does not alias any other symbols)"); - if (cfun && gimple_default_def (cfun, var)) { fprintf (file, ", default def: "); diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 2d44c3c..ffec3bc 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -147,29 +147,6 @@ enum need_phi_state { }; -/* The "no alias" attribute allows alias analysis to make more - aggressive assumptions when assigning alias sets, computing - points-to information and memory partitions. These attributes - are the result of user annotations or flags (e.g., - -fargument-noalias). */ -enum noalias_state { - /* Default state. No special assumptions can be made about this - symbol. */ - MAY_ALIAS = 0, - - /* The symbol does not alias with other symbols that have a - NO_ALIAS* attribute. */ - NO_ALIAS, - - /* The symbol does not alias with other symbols that have a - NO_ALIAS*, and it may not alias with global symbols. */ - NO_ALIAS_GLOBAL, - - /* The symbol does not alias with any other symbols. */ - NO_ALIAS_ANYTHING -}; - - struct GTY(()) var_ann_d { /* Used when building base variable structures in a var_map. */ unsigned base_var_processed : 1; @@ -187,11 +164,6 @@ struct GTY(()) var_ann_d { the memory area allocated by a call to malloc. */ unsigned is_heapvar : 1; - /* This field describes several "no alias" attributes that some - symbols are known to have. See the enum's definition for more - information on each attribute. */ - ENUM_BITFIELD (noalias_state) noalias_state : 2; - /* Used by var_map for the base index of ssa base variables. */ unsigned base_index; -- 2.7.4