]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/cpp.c
final.c (rest_of_clean_state): Use %m in errors instead of strerror (errno).
authorJoseph Myers <joseph@codesourcery.com>
Fri, 28 May 2010 13:03:31 +0000 (14:03 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 28 May 2010 13:03:31 +0000 (14:03 +0100)
commit7ca92787862d1b6cae3fbda685c1ddf2009e73b3
tree065aff3d1d01e48c7777eadaa47358832eb00cb5
parent8bf85f21b3a0180e286e2e32de3dd7f266729baf
final.c (rest_of_clean_state): Use %m in errors instead of strerror (errno).

* final.c (rest_of_clean_state): Use %m in errors instead of
strerror (errno).
* gengtype.c (read_input_list, close_output_files): Use xstrerror
instead of strerror.
* toplev.c (process_options): Use %m in errors instead of strerror
(errno).
* tree-dump.c (dump_begin): Use %m in errors instead of strerror
(errno).

fortran:
* cpp.c (gfc_cpp_init_0): Use xstrerror instead of strerror.
* module.c (write_char, gfc_dump_module, gfc_use_module): Use
xstrerror instead of strerror.

lto:
* lto-coff.c (coff_errmsg): Remove.
(lto_coff_begin_section_with_type, lto_obj_append_data): Use %m in
errors instead of coff_errmsg (-1).
* lto-macho.c (mach_o_errmsg): Remove.
(lto_obj_begin_section, lto_obj_append_data): Use %m in errors
instead of mach_o_errmsg (-1).
* lto.c (read_cgraph_and_symbols): Use %m in errors instead of
xstrerror (errno).

From-SVN: r159969
12 files changed:
gcc/ChangeLog
gcc/final.c
gcc/fortran/ChangeLog
gcc/fortran/cpp.c
gcc/fortran/module.c
gcc/gengtype.c
gcc/lto/ChangeLog
gcc/lto/lto-coff.c
gcc/lto/lto-macho.c
gcc/lto/lto.c
gcc/toplev.c
gcc/tree-dump.c