This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translation/80280] Missing closing quote (%>) c/semantics.c and c/c-typeck.c


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

--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Tue May  9 02:47:14 2017
New Revision: 247778

URL: https://gcc.gnu.org/viewcvs?rev=247778&root=gcc&view=rev
Log:
PR translation/80280 - Missing closing quote (%>) c/semantics.c and
c/c-typeck.c

gcc/c-family/ChangeLog:

        PR translation/80280
        * c-format.h (struct format_flag_spec): Add new member.
        (T89_T): New macro.
        * c-format.c (local_tree_type_node): New global.
        (printf_flag_specs, asm_fprintf_flag_spec): Initialize new data.
        (gcc_diag_flag_specs, scanf_flag_specs, strftime_flag_specs): Ditto.
        (strfmon_flag_specs): Likewise.
        (gcc_diag_char_table, gcc_cdiag_char_table): Split up specifiers
        with distinct quoting properties.
        (gcc_tdiag_char_table, gcc_cxxdiag_char_table): Same.
        (flag_chars_t::validate): Add argument and handle bad quoting.
        (check_format_info_main): Handle quoting problems.
        (init_dynamic_diag_info): Simplify.

gcc/testsuite/ChangeLog:

        PR translation/80280
        * gcc.dg/format/gcc_diag-10.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/format/gcc_diag-10.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-format.c
    trunk/gcc/c-family/c-format.h
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]