summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-06 01:18:51 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-06 01:18:51 +0000
commitf701cb4d25f62afbd9bf2a1fb562d288b8ea5a3e (patch)
tree4bcbd89a3b6feb6d635b019e4cac7f96a68a0f3f
parentc91b33b9b1bb7d38495faee0fe4ddd580ff317e9 (diff)
downloadgcc-f701cb4d25f62afbd9bf2a1fb562d288b8ea5a3e.tar.gz
* alias.h (alias_set_type): Change from HOST_WIDE_INT to int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132964 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/alias.h9
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8d2bd72c053..a103de6a70e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-05 Ian Lance Taylor <iant@google.com>
+
+ * alias.h (alias_set_type): Change from HOST_WIDE_INT to int.
+
2008-03-05 Kenneth Zadeck <zadeck@naturalbridge.com>
* fwprop.c (update_df): Support width and offset parameters of
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);