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
This commit is contained in:
Andrew MacLeod 2015-06-25 16:27:12 +00:00 committed by Andrew Macleod
parent 62f9079a93
commit eee335102e
5 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,10 @@
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
2015-06-25 Andrew MacLeod <amacleod@redhat.com>
* cgraph.h (cgraph_rtl_info): Move to rtl.h

View File

@ -20,14 +20,6 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_ALIAS_H
#define GCC_ALIAS_H
/* 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);
extern alias_set_type get_deref_alias_set (tree);

View File

@ -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;

View File

@ -24,7 +24,6 @@ along with GCC; see the file COPYING3. If not see
#include "libgccjit.h"
#include "vec.h"
#include "alias.h"
#include "flags.h"
#include "symtab.h"
#include "inchash.h"

View File

@ -38,7 +38,6 @@ along with GCC; see the file COPYING3. If not see
#include "is-a.h"
#endif /* GENERATOR_FILE */
#include "alias.h"
#include "flags.h"
/* Value used by some passes to "recognize" noop moves as valid