diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-05-28 23:48:36 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-05-28 23:48:36 +0100 |
commit | 6afbc8850684f9e7168a70ca1148bf9064ba582a (patch) | |
tree | e9cbdec79403c99a1cb3ef44833dcf33827d46a9 /gcc/c-common.c | |
parent | 0896cc668adddc0be62f009679e1e7236ecec0e6 (diff) | |
download | gcc-6afbc8850684f9e7168a70ca1148bf9064ba582a.zip gcc-6afbc8850684f9e7168a70ca1148bf9064ba582a.tar.gz gcc-6afbc8850684f9e7168a70ca1148bf9064ba582a.tar.bz2 |
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
Diffstat (limited to 'gcc/c-common.c')
0 files changed, 0 insertions, 0 deletions