From: jsm28 Date: Sat, 22 May 2010 13:46:01 +0000 (+0000) Subject: * dbgcnt.c: Include toplev.h instead of errors.h. X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=34408c5c1ed8c7117451ceefb94288d8ca2df396;p=pf3gnuchains%2Fgcc-fork.git * dbgcnt.c: Include toplev.h instead of errors.h. * ira-emit.c: Don't include errors.h. * ira.c: Include toplev.h instead of errors.h. * lto-compress.c: Include toplev.h instead of errors.h. * Makefile.in (lto-compress.o, lto-streamer-out.o, ira-emit.o, ira.o, dbgcnt.o): Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159697 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d6caa0c10fa..6c63df14822 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2010-05-22 Joseph Myers + + * dbgcnt.c: Include toplev.h instead of errors.h. + * ira-emit.c: Don't include errors.h. + * ira.c: Include toplev.h instead of errors.h. + * lto-compress.c: Include toplev.h instead of errors.h. + * Makefile.in (lto-compress.o, lto-streamer-out.o, ira-emit.o, + ira.o, dbgcnt.o): Update dependencies. + 2010-05-22 Richard Guenther * gimple.c (gimple_types_compatible_p): Check type qualifications diff --git a/gcc/Makefile.in b/gcc/Makefile.in index f416366c7e8..01073f18d76 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2215,7 +2215,7 @@ double-int.o: double-int.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) # lto-compress.o needs $(ZLIBINC) added to the include flags. lto-compress.o: lto-compress.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TREE_H) langhooks.h $(LTO_HEADER_H) $(LTO_SECTION_H) \ - lto-compress.h $(DIAGNOSTIC_H) errors.h + lto-compress.h $(DIAGNOSTIC_H) $(TOPLEV_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(ZLIBINC) $< $(OUTPUT_OPTION) lto-cgraph.o: lto-cgraph.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ @@ -2232,7 +2232,7 @@ lto-streamer-out.o : lto-streamer-out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TM_H) $(TOPLEV_H) $(TREE_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h \ $(HASHTAB_H) $(BASIC_BLOCK_H) tree-iterator.h \ $(TREE_FLOW_H) $(TREE_PASS_H) $(CGRAPH_H) $(FUNCTION_H) $(GGC_H) \ - $(DIAGNOSTIC_H) except.h $(LTO_STREAMER_H) errors.h + $(DIAGNOSTIC_H) except.h $(LTO_STREAMER_H) $(TOPLEV_H) lto-section-in.o: lto-section-in.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(TOPLEV_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h \ $(HASHTAB_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(CGRAPH_H) $(FUNCTION_H) \ @@ -3263,7 +3263,7 @@ ira-color.o: ira-color.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ ira-emit.o: ira-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(REGS_H) $(RTL_H) $(TM_P_H) $(TARGET_H) $(FLAGS_H) hard-reg-set.h \ $(BASIC_BLOCK_H) $(EXPR_H) $(RECOG_H) $(PARAMS_H) $(TIMEVAR_H) \ - $(TREE_PASS_H) output.h reload.h errors.h $(DF_H) $(IRA_INT_H) + $(TREE_PASS_H) output.h reload.h $(DF_H) $(IRA_INT_H) ira-lives.o: ira-lives.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(TARGET_H) $(RTL_H) $(REGS_H) $(EXCEPT_H) hard-reg-set.h $(FLAGS_H) \ insn-config.h $(RECOG_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) $(PARAMS_H) \ @@ -3272,7 +3272,7 @@ ira.o: ira.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TM_H) $(REGS_H) $(RTL_H) $(TM_P_H) $(TARGET_H) $(FLAGS_H) $(OBSTACK_H) \ $(BITMAP_H) hard-reg-set.h $(BASIC_BLOCK_H) \ $(EXPR_H) $(RECOG_H) $(PARAMS_H) $(TIMEVAR_H) $(TREE_PASS_H) output.h \ - $(EXCEPT_H) reload.h errors.h $(INTEGRATE_H) $(DF_H) $(GGC_H) $(IRA_INT_H) + $(EXCEPT_H) reload.h $(TOPLEV_H) $(INTEGRATE_H) $(DF_H) $(GGC_H) $(IRA_INT_H) regmove.o : regmove.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \ insn-config.h $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H)\ $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \ @@ -3399,7 +3399,7 @@ hooks.o: hooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(HOOKS_H) pretty-print.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h $(PRETTY_PRINT_H) \ $(GGC_H) errors.o : errors.c $(CONFIG_H) $(SYSTEM_H) errors.h $(BCONFIG_H) -dbgcnt.o: dbgcnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h errors.h $(DBGCNT_H) \ +dbgcnt.o: dbgcnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TOPLEV_H) $(DBGCNT_H) \ $(TM_H) $(RTL_H) output.h lower-subreg.o : lower-subreg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(MACHMODE_H) $(TM_H) $(RTL_H) $(TM_P_H) $(TIMEVAR_H) $(FLAGS_H) \ diff --git a/gcc/dbgcnt.c b/gcc/dbgcnt.c index 6c3bd9192a8..911cfb3c412 100644 --- a/gcc/dbgcnt.c +++ b/gcc/dbgcnt.c @@ -1,5 +1,5 @@ /* Debug counter for debugging support - Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -22,7 +22,7 @@ See dbgcnt.def for usage information. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "errors.h" +#include "toplev.h" #include "tm.h" #include "rtl.h" #include "output.h" diff --git a/gcc/ira-emit.c b/gcc/ira-emit.c index 9d66bfe48ff..18f2e2404ac 100644 --- a/gcc/ira-emit.c +++ b/gcc/ira-emit.c @@ -1,5 +1,5 @@ /* Integrated Register Allocator. Changing code and generating moves. - Copyright (C) 2006, 2007, 2008, 2009 + Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Contributed by Vladimir Makarov . @@ -40,7 +40,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-pass.h" #include "output.h" #include "reload.h" -#include "errors.h" #include "df.h" #include "ira-int.h" diff --git a/gcc/ira.c b/gcc/ira.c index 372539e08a2..abeb9da2f7f 100644 --- a/gcc/ira.c +++ b/gcc/ira.c @@ -318,7 +318,7 @@ along with GCC; see the file COPYING3. If not see #include "output.h" #include "except.h" #include "reload.h" -#include "errors.h" +#include "toplev.h" #include "integrate.h" #include "df.h" #include "ggc.h" diff --git a/gcc/lto-compress.c b/gcc/lto-compress.c index e29ded397fe..8849d57c814 100644 --- a/gcc/lto-compress.c +++ b/gcc/lto-compress.c @@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tree.h" #include "diagnostic.h" -#include "errors.h" +#include "toplev.h" #include "langhooks.h" #include "lto-streamer.h" #include "lto-compress.h"