aboutsummaryrefslogtreecommitdiff
path: root/gcc/errors.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2004-08-04 20:55:08 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-08-04 20:55:08 +0000
commit7e7ec48e73a8f524f58a9f74bb40729d12eaebcb (patch)
treea9f87e09e81eff73522e399c581774290e92545a /gcc/errors.c
parentb0382c67cb60bf717f7ed330da1c36ca379381d8 (diff)
downloadgcc-7e7ec48e73a8f524f58a9f74bb40729d12eaebcb.zip
gcc-7e7ec48e73a8f524f58a9f74bb40729d12eaebcb.tar.gz
gcc-7e7ec48e73a8f524f58a9f74bb40729d12eaebcb.tar.bz2
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
Diffstat (limited to 'gcc/errors.c')
-rw-r--r--gcc/errors.c8
1 files changed, 4 insertions, 4 deletions
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"