summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/ggc-callbacks.c1
-rw-r--r--gcc/ggc-common.c5
-rw-r--r--gcc/ggc-none.c1
-rw-r--r--gcc/ggc-page.c1
-rw-r--r--gcc/ggc-simple.c3
6 files changed, 14 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5f257ccf785..1120c159a78 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
+
+ * ggc-{common,callbacks,none,page,simple}.c (toplevel): Reorder
+ includes, so that ggc.h comes after other includes that define the
+ appropriate types. Include tm_p.h for getting user prototypes.
+
Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
Jonathan Larmour <jlarmour@cygnus.co.uk>
diff --git a/gcc/ggc-callbacks.c b/gcc/ggc-callbacks.c
index caae2bcff28..462e6905dc2 100644
--- a/gcc/ggc-callbacks.c
+++ b/gcc/ggc-callbacks.c
@@ -22,6 +22,7 @@
#include "system.h"
#include "rtl.h"
#include "tree.h"
+#include "tm_p.h"
#include "ggc.h"
int ggc_p = 0;
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index cf28d5bbc0c..5acde492d17 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -23,11 +23,12 @@
#include "config.h"
#include "system.h"
-#include "ggc.h"
-#include "hash.h"
#include "rtl.h"
#include "tree.h"
+#include "tm_p.h"
+#include "hash.h"
#include "varray.h"
+#include "ggc.h"
static void ggc_mark_rtx_ptr PARAMS ((void *));
static void ggc_mark_tree_ptr PARAMS ((void *));
diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c
index d567c8b3fde..4e9ef4aacd7 100644
--- a/gcc/ggc-none.c
+++ b/gcc/ggc-none.c
@@ -29,6 +29,7 @@
#include "config.h"
#include "system.h"
#include "rtl.h"
+#include "tm_p.h"
#include "ggc.h"
/* For now, keep using the old obstack scheme in the gen* programs. */
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c
index 879f8fa776d..80967d25c6d 100644
--- a/gcc/ggc-page.c
+++ b/gcc/ggc-page.c
@@ -22,6 +22,7 @@
#include "system.h"
#include "tree.h"
#include "rtl.h"
+#include "tm_p.h"
#include "varray.h"
#include "flags.h"
#include "ggc.h"
diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c
index cb9364be96c..841f50bf561 100644
--- a/gcc/ggc-simple.c
+++ b/gcc/ggc-simple.c
@@ -22,10 +22,11 @@
#include "system.h"
#include "rtl.h"
#include "tree.h"
-#include "ggc.h"
+#include "tm_p.h"
#include "flags.h"
#include "varray.h"
#include "hash.h"
+#include "ggc.h"
/* Debugging flags. */