summaryrefslogtreecommitdiff
path: root/gcc/gengtype.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-07-08 09:57:36 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-07-08 09:57:36 +0000
commit79bdca32d42fcd1a77fbb94826d22f020dca8829 (patch)
tree1f889da1ddbeefc98575d8857f4c77a4196d001a /gcc/gengtype.h
parent953bee7c4a084245ae19ffb3b56e8a4685548a36 (diff)
alias.h: Do not include coretypes.h in header files.
gcc/ * alias.h: Do not include coretypes.h in header files. * cppbuiltin.h: Likewise. * double-int.h: Likewise. * gimple-fold.h: Likewise. * flags.h: Likewise. * tree-ssa-alias.h: Likewise. * gengtype.h (obstack_chunk_alloc, obstack_chunk_free, OBSTACK_CHUNK_SIZE): Define here to avoid dependency on coretypes.h. * Makefile.in (RTL_BASE_H): Depend on coretypes.h. (TREE_H): Likewise. (ALIAS_H): Do not depend on coretypes.h. (FLAGS_H): Likewise. (realmpfr.o): Depend on coretypes.h. java/ * verify.h: Do not include system.h and coretypes.h here. * verify-impl.c: Include them here instead. From-SVN: r189358
Diffstat (limited to 'gcc/gengtype.h')
-rw-r--r--gcc/gengtype.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gengtype.h b/gcc/gengtype.h
index 964cc311917..560f7f3de1b 100644
--- a/gcc/gengtype.h
+++ b/gcc/gengtype.h
@@ -21,6 +21,10 @@
#ifndef GCC_GENGTYPE_H
#define GCC_GENGTYPE_H
+#define obstack_chunk_alloc ((void *(*) (long)) xmalloc)
+#define obstack_chunk_free ((void (*) (void *)) free)
+#define OBSTACK_CHUNK_SIZE 0
+
/* Sets of accepted source languages like C, C++, Ada... are
represented by a bitmap. */
typedef unsigned lang_bitmap;