Commit 50b56694 by Richard Guenther Committed by Richard Biener

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
parent 3df41baf
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> 2010-06-29 Bernd Schmidt <bernds@codesourcery.com>
PR target/43902 PR target/43902
......
...@@ -242,8 +242,6 @@ debug_referenced_vars (void) ...@@ -242,8 +242,6 @@ debug_referenced_vars (void)
void void
dump_variable (FILE *file, tree var) dump_variable (FILE *file, tree var)
{ {
var_ann_t ann;
if (TREE_CODE (var) == SSA_NAME) if (TREE_CODE (var) == SSA_NAME)
{ {
if (POINTER_TYPE_P (TREE_TYPE (var))) if (POINTER_TYPE_P (TREE_TYPE (var)))
...@@ -259,8 +257,6 @@ dump_variable (FILE *file, tree var) ...@@ -259,8 +257,6 @@ dump_variable (FILE *file, tree var)
print_generic_expr (file, var, dump_flags); print_generic_expr (file, var, dump_flags);
ann = var_ann (var);
fprintf (file, ", UID D.%u", (unsigned) DECL_UID (var)); fprintf (file, ", UID D.%u", (unsigned) DECL_UID (var));
if (DECL_PT_UID (var) != DECL_UID (var)) if (DECL_PT_UID (var) != DECL_UID (var))
fprintf (file, ", PT-UID D.%u", (unsigned) DECL_PT_UID (var)); fprintf (file, ", PT-UID D.%u", (unsigned) DECL_PT_UID (var));
...@@ -277,14 +273,6 @@ dump_variable (FILE *file, tree var) ...@@ -277,14 +273,6 @@ dump_variable (FILE *file, tree var)
if (TREE_THIS_VOLATILE (var)) if (TREE_THIS_VOLATILE (var))
fprintf (file, ", is volatile"); 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)) if (cfun && gimple_default_def (cfun, var))
{ {
fprintf (file, ", default def: "); fprintf (file, ", default def: ");
......
...@@ -147,29 +147,6 @@ enum need_phi_state { ...@@ -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 { struct GTY(()) var_ann_d {
/* Used when building base variable structures in a var_map. */ /* Used when building base variable structures in a var_map. */
unsigned base_var_processed : 1; unsigned base_var_processed : 1;
...@@ -187,11 +164,6 @@ struct GTY(()) var_ann_d { ...@@ -187,11 +164,6 @@ struct GTY(()) var_ann_d {
the memory area allocated by a call to malloc. */ the memory area allocated by a call to malloc. */
unsigned is_heapvar : 1; 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. */ /* Used by var_map for the base index of ssa base variables. */
unsigned base_index; unsigned base_index;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment