This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove includes of langhooks.h, real.h, and fibheap.h in tree-ssa-pre.c


Howdy,

In

 http://gcc.gnu.org/ml/gcc/2005-05/msg00385.html

Daniel Berlin said that tree-ssa-pre.c should not include langhook.h
(I assume he meant langhooks.h), real.h, and fibheap.h.  The following
patch removes these includes.  Bootstrapped and tested on
powerpc-unknown-linux-gnu.  OK to commit?

-- 
Matt

	* Makefile.in (tree-ssa-pre.o): Remove $(FIBHEAP_H),
	langhooks.h, and real.h from the dependency list.
	* tree-ssa-pre.c: Do not include fibheap.h, real.h, or
	langhooks.h.

Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1484
diff -u -r1.1484 Makefile.in
--- gcc/Makefile.in	11 May 2005 16:25:24 -0000	1.1484
+++ gcc/Makefile.in	12 May 2005 13:27:03 -0000
@@ -1717,8 +1717,8 @@
 tree-ssa-pre.o : tree-ssa-pre.c $(TREE_FLOW_H) $(CONFIG_H) \
    $(SYSTEM_H) $(TREE_H) $(GGC_H) $(DIAGNOSTIC_H) errors.h $(TIMEVAR_H) \
    $(TM_H) coretypes.h $(TREE_DUMP_H) tree-pass.h $(FLAGS_H) $(CFGLOOP_H) \
-   alloc-pool.h $(BASIC_BLOCK_H) bitmap.h $(FIBHEAP_H) $(HASHTAB_H) \
-   langhooks.h real.h $(TREE_GIMPLE_H) tree-inline.h tree-iterator.h
+   alloc-pool.h $(BASIC_BLOCK_H) bitmap.h $(HASHTAB_H) \
+   $(TREE_GIMPLE_H) tree-inline.h tree-iterator.h
 tree-vn.o : tree-vn.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) \
    $(TREE_H) $(TREE_FLOW_H) $(HASHTAB_H) langhooks.h tree-pass.h \
    $(TREE_DUMP_H) $(DIAGNOSTIC_H)
Index: gcc/tree-ssa-pre.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-pre.c,v
retrieving revision 2.84
diff -u -r2.84 tree-ssa-pre.c
--- gcc/tree-ssa-pre.c	3 May 2005 12:19:47 -0000	2.84
+++ gcc/tree-ssa-pre.c	12 May 2005 13:27:04 -0000
@@ -34,15 +34,12 @@
 #include "tree-gimple.h"
 #include "tree-dump.h"
 #include "timevar.h"
-#include "fibheap.h"
 #include "hashtab.h"
 #include "tree-iterator.h"
-#include "real.h"
 #include "alloc-pool.h"
 #include "tree-pass.h"
 #include "flags.h"
 #include "bitmap.h"
-#include "langhooks.h"
 #include "cfgloop.h"
 
 /* TODO:

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]