]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Dead-function removal in error.cc (shrinking by 40%)
authorTobias Burnus <tburnus@baylibre.com>
Fri, 11 Oct 2024 15:05:37 +0000 (17:05 +0200)
committerTobias Burnus <tburnus@baylibre.com>
Fri, 11 Oct 2024 15:05:37 +0000 (17:05 +0200)
commit459c6018d2308d0e6e6146cbcd2b73968fdb6404
treecce25d57b8115919318c4bbb36f5731cbaf0ea4f
parent4be7d2d340a013d01a47c43d2feb6826d1b67af0
Fortran: Dead-function removal in error.cc (shrinking by 40%)

This patch removes a large number of unused static functions from error.cc,
which previously were used for diagnostic but have been replaced by the common
diagnostic code.

gcc/fortran/ChangeLog:

* error.cc (error_char, error_string, error_uinteger, error_integer,
error_hwuint, error_hwint, gfc_widechar_display_length,
gfc_wide_display_length, error_printf, show_locus, show_loci):
Remove unused static functions.
(IBUF_LEN, MAX_ARGS): Remove now unused #define.
gcc/fortran/error.cc