summaryrefslogtreecommitdiff
path: root/gcc/coretypes.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2015-06-25 16:27:12 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2015-06-25 16:27:12 +0000
commiteee335102e36d60367366895729a48b1a24fb23c (patch)
tree0f8cc4a758ef15235687b6a9e7e151d2b21786d9 /gcc/coretypes.h
parent62f9079a9372e04d7610098c57e7c320d922459b (diff)
alias.h (alias_set_type): Move typedef.
2015-06-25 Andrew Macleod <amacleod@redhat.com> * alias.h (alias_set_type): Move typedef. * coretypes.h (alias_set_type): Relocate typedef here. * rtl.h: Don't include alias.h. * jit/jit-common.h: Likewise From-SVN: r224948
Diffstat (limited to 'gcc/coretypes.h')
-rw-r--r--gcc/coretypes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/coretypes.h b/gcc/coretypes.h
index 110d5b64a82..e3cec01f4d8 100644
--- a/gcc/coretypes.h
+++ b/gcc/coretypes.h
@@ -210,6 +210,13 @@ enum var_init_status
VAR_INIT_STATUS_INITIALIZED
};
+/* 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;
struct edge_def;
typedef struct edge_def *edge;