From 7e7ec48e73a8f524f58a9f74bb40729d12eaebcb Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 4 Aug 2004 20:55:08 +0000 Subject: Makefile.in (RTL_BASE_H, RTL_H): Correct. * Makefile.in (RTL_BASE_H, RTL_H): Correct. (BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o. (genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o. (read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o) (genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o) (genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o) (genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H). (ggc-none.o, errors.o): Move rule to generators section; correct dependencies. (min-insn-modes.o): Move rule to generators section; remove unnecessary explicit command; correct dependencies. (print-rtl.o, print-rtl1.o): Correct dependencies. ($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule. (mostlyclean): Update. * errors.c: Include bconfig.h not config.h. Correct comment. * gengtype.c, genpreds.c: Don't define NO_GENRTL_H. * ggc-none.c: Include bconfig.h; not config.h or tm.h. * print-rtl.c: Don't include tm_p.h. * rtl.h: Move forward-decl of struct function down where it's needed. Include genrtl.h #ifndef GENERATOR_FILE, not #ifndef NO_GENRTL_H. Remove unnecessary #ifdef BUFSIZ statements. From-SVN: r85574 --- gcc/errors.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/errors.c') diff --git a/gcc/errors.c b/gcc/errors.c index 09504d3..13288a8 100644 --- a/gcc/errors.c +++ b/gcc/errors.c @@ -1,5 +1,5 @@ /* Basic error reporting routines. - Copyright (C) 1999, 2000, 2001, 2003 + Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. This file is part of GCC. @@ -20,10 +20,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* warning, error, and fatal. These definitions are suitable for use - in the generator programs; eventually we would like to use them in - cc1 too, but that's a longer term project. */ + in the generator programs; the compiler has a more elaborate suite + of diagnostic printers, found in diagnostic.c. */ -#include "config.h" +#include "bconfig.h" #include "system.h" #include "errors.h" -- cgit v1.1