diff options
author | Richard Guenther <rguenther@suse.de> | 2010-06-29 14:02:23 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-06-29 14:02:23 +0000 |
commit | 50b56694bb665f06ad0a327498bebe45e0bd3d0d (patch) | |
tree | fff380163b201746fedf42efc2bbbfb9771efd5a | |
parent | 3df41baf91c488fb02905562aef28d6ccfa6146a (diff) | |
download | gcc-50b56694bb665f06ad0a327498bebe45e0bd3d0d.zip gcc-50b56694bb665f06ad0a327498bebe45e0bd3d0d.tar.gz gcc-50b56694bb665f06ad0a327498bebe45e0bd3d0d.tar.bz2 |
tree-dfa.c (dump_variable): Remove noalias_state dumping.
2010-06-29 Richard Guenther <rguenther@suse.de>
* tree-dfa.c (dump_variable): Remove noalias_state dumping.
* tree-flow.h (enum noalias_state): Remove.
(struct var_ann_d): Remove noalias_state member.
From-SVN: r161535
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/tree-dfa.c | 12 | ||||
-rw-r--r-- | 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 <rguenther@suse.de> + + * 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 <bernds@codesourcery.com> 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; |