[Patch Darwin] Remove two unused headers.

IainS developer@sandoe-acoustics.co.uk
Sun Dec 5 12:00:00 GMT 2010


apropos http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00389.html

The c-* headers appear to be unused..

bootstrapped on i686-darwin9.
OK ?
Iain

gcc:

	* config/darwin.c: Remove c-tree.h and c-lang.h
	* config/t-darwin: Remove dependencies on c-tree.h and c-lang.h.


Index: gcc/config/t-darwin
===================================================================
--- gcc/config/t-darwin	(revision 167470)
+++ gcc/config/t-darwin	(working copy)
@@ -21,7 +21,7 @@ darwin.o: $(srcdir)/config/darwin.c $(CONFIG_H) $(
    $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(REAL_H) insn- 
config.h         \
    conditions.h insn-flags.h output.h insn-attr.h flags.h $(TREE_H)  
expr.h   \
    reload.h function.h $(GGC_H) langhooks.h $(TARGET_H) $(TM_P_H) gt- 
darwin.h \
-  c-tree.h c-lang.h config/darwin-sections.def
+  config/darwin-sections.def
  	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  		$(srcdir)/config/darwin.c

Index: gcc/config/darwin.c
===================================================================
--- gcc/config/darwin.c	(revision 167470)
+++ gcc/config/darwin.c	(working copy)
@@ -41,8 +41,6 @@ along with GCC; see the file COPYING3.  If not see
  #include "langhooks.h"
  #include "target.h"
  #include "tm_p.h"
-#include "c-tree.h"
-#include "c-lang.h"
  #include "diagnostic-core.h"
  #include "toplev.h"
  #include "hashtab.h"


  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 167470-remove-hdrs.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101205/19ab51f5/attachment.txt>
-------------- next part --------------




More information about the Gcc-patches mailing list