aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-03-06 01:18:51 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2008-03-06 01:18:51 +0000
commit6ab813027a307783b7d54b062d1ea17ce74c021e (patch)
tree4bcbd89a3b6feb6d635b019e4cac7f96a68a0f3f /gcc
parent2f76571e54dc5e8cce9acacca3bcc78acb3dacac (diff)
downloadgcc-6ab813027a307783b7d54b062d1ea17ce74c021e.zip
gcc-6ab813027a307783b7d54b062d1ea17ce74c021e.tar.gz
gcc-6ab813027a307783b7d54b062d1ea17ce74c021e.tar.bz2
* alias.h (alias_set_type): Change from HOST_WIDE_INT to int.
From-SVN: r132964
Diffstat (limited to 'gcc')
-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 8d2bd72..a103de6 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 b9d954e..73811d3 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);