https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84207

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Tue Feb 27 22:06:03 2018
New Revision: 258044

URL: https://gcc.gnu.org/viewcvs?rev=258044&root=gcc&view=rev
Log:
PR translation/84207 - Hard coded plural in gimple-fold.c

gcc/ChangeLog:

        PR translation/84207
        * diagnostic-core.h (warning_n, error_n, inform_n): Change
        n argument to unsigned HOST_WIDE_INT.
        * diagnostic.c (warning_n, error_n, inform_n): Ditto.
        (diagnostic_n_impl): Ditto.  Handle arguments in excess of LONG_MAX.
        * gimple-ssa-sprintf.c (format_directive): Simplify inform_n call.
        * tree-ssa-strlen.c (maybe_diag_stxncpy_trunc): Use warning_n.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/diagnostic-core.h
    trunk/gcc/diagnostic.c
    trunk/gcc/gimple-ssa-sprintf.c
    trunk/gcc/tree-ssa-strlen.c

Reply via email to