Patch to add tm_p.h support to ggc-*.c files

Michael Meissner meissner@cygnus.com
Tue Oct 5 08:44:00 GMT 1999


I have applied the following patch to the source tree:

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.

*** gcc/ggc-common.c.~1~	Tue Oct  5 11:22:22 1999
--- gcc/ggc-common.c	Tue Oct  5 11:33:56 1999
***************
*** 23,33 ****
  
  #include "config.h"
  #include "system.h"
- #include "ggc.h"
- #include "hash.h"
  #include "rtl.h"
  #include "tree.h"
  #include "varray.h"
  
  static void ggc_mark_rtx_ptr PARAMS ((void *));
  static void ggc_mark_tree_ptr PARAMS ((void *));
--- 23,34 ----
  
  #include "config.h"
  #include "system.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 *));
*** gcc/ggc-callbacks.c.~1~	Wed Sep 15 21:21:13 1999
--- gcc/ggc-callbacks.c	Tue Oct  5 11:36:03 1999
***************
*** 22,27 ****
--- 22,28 ----
  #include "system.h"
  #include "rtl.h"
  #include "tree.h"
+ #include "tm_p.h"
  #include "ggc.h"
  
  int ggc_p = 0;
*** gcc/ggc-none.c.~1~	Tue Oct  5 11:22:22 1999
--- gcc/ggc-none.c	Tue Oct  5 11:36:17 1999
***************
*** 29,34 ****
--- 29,35 ----
  #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.  */
*** gcc/ggc-page.c.~1~	Tue Oct  5 11:22:22 1999
--- gcc/ggc-page.c	Tue Oct  5 11:37:05 1999
***************
*** 22,27 ****
--- 22,28 ----
  #include "system.h"
  #include "tree.h"
  #include "rtl.h"
+ #include "tm_p.h"
  #include "varray.h"
  #include "flags.h"
  #include "ggc.h"
*** gcc/ggc-simple.c.~1~	Tue Oct  5 11:22:22 1999
--- gcc/ggc-simple.c	Tue Oct  5 11:36:39 1999
***************
*** 22,31 ****
  #include "system.h"
  #include "rtl.h"
  #include "tree.h"
! #include "ggc.h"
  #include "flags.h"
  #include "varray.h"
  #include "hash.h"
  
  /* Debugging flags.  */
  
--- 22,32 ----
  #include "system.h"
  #include "rtl.h"
  #include "tree.h"
! #include "tm_p.h"
  #include "flags.h"
  #include "varray.h"
  #include "hash.h"
+ #include "ggc.h"
  
  /* Debugging flags.  */
  


More information about the Gcc-patches mailing list