summaryrefslogtreecommitdiff
path: root/gcc/alias.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/alias.h')
-rw-r--r--gcc/alias.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/alias.h b/gcc/alias.h
index b9d954eea02..73811d302b1 100644
--- a/gcc/alias.h
+++ b/gcc/alias.h
@@ -22,8 +22,13 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
-/* The type of an alias set. */
-typedef HOST_WIDE_INT alias_set_type;
+/* The type of an alias set. Code currently assumes that variables of
+ this type can take the values 0 (the alias set which aliases
+ everything) and -1 (sometimes indicating that the alias set is
+ unknown, sometimes indicating a memory barrier) and -2 (indicating
+ that the alias set should be set to a unique value but has not been
+ set yet). */
+typedef int alias_set_type;
extern alias_set_type new_alias_set (void);
extern alias_set_type get_alias_set (tree);