]> git.ipfire.org Git - thirdparty/gcc.git/commit
gcc.c: Include diagnostic.h.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 28 May 2010 22:48:36 +0000 (23:48 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 28 May 2010 22:48:36 +0000 (23:48 +0100)
commit6afbc8850684f9e7168a70ca1148bf9064ba582a
treee9cbdec79403c99a1cb3ef44833dcf33827d46a9
parent0896cc668adddc0be62f009679e1e7236ecec0e6
gcc.c: Include diagnostic.h.

* gcc.c: Include diagnostic.h.
(error_count): Remove.  All users changed to use errorcount.
(programname): Remove.  All users changed to use progname.
(fancy_abort, internal_error, fatal_error, error, warning, inform,
fnotice): Remove.
(execute): Don't include "Internal error" and bug reporting
information in argument of internal_error call.
(process_command): Don't increment error_count after calling
perror_with_name.
(input_filename): Rename to gcc_input_filename.  All users
changed.
(main): Call diagnostic_initialize.  Register delete_temp_files
with atexit.  Use seen_error to test for errors.
* gcc.h: Include diagnostic-core.h.
(fatal_error, error, warning): Remove.
* Makefile.in (GCC_H): Add $(DIAGNOSTIC_CORE_H).
(GCC_OBJS): Add diagnostic.o, pretty-print.o and input.o.
(gcc.o): Update dependencies.

From-SVN: r160004
gcc/ChangeLog
gcc/Makefile.in
gcc/gcc.c
gcc/gcc.h