Patchwork Don't include tm.h in intl.c

mail settings
Submitter Joseph S. Myers
Date Dec. 1, 2010, 5:29 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/73850/
State New
Headers show


Joseph S. Myers - Dec. 1, 2010, 5:29 p.m.
In the course of testing a previous patch I found that intl.c includes
tm.h, although it has no need for that header and no business
depending on target configuration at all.  I've now committed this
patch to remove that include.  Bootstrapped with no regressions on

2010-12-01  Joseph Myers  <>

	* intl.c: Don't include tm.h.
	* (intl.o): Don't depend on $(TM_H).


Index: gcc/intl.c
--- gcc/intl.c	(revision 167331)
+++ gcc/intl.c	(working copy)
@@ -21,7 +21,6 @@  along with GCC; see the file COPYING3.  
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"
-#include "tm.h"
 #include "intl.h"
Index: gcc/
--- gcc/	(revision 167331)
+++ gcc/	(working copy)
@@ -4000,7 +4000,7 @@  gengtype-lex.c : gengtype-lex.l
 # Remake internationalization support.
-intl.o: intl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h Makefile
+intl.o: intl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h Makefile
 	  -DLOCALEDIR=\"$(localedir)\" \
 	  -c $(srcdir)/intl.c $(OUTPUT_OPTION)