[Bug bootstrap/97622] ubsan ' unterminated quote character ''' in format

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 25 22:01:58 GMT 2020


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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:

https://gcc.gnu.org/g:ca23341b28cd3af7985b83a6479107d9ea145a90

commit r11-5393-gca23341b28cd3af7985b83a6479107d9ea145a90
Author: Martin Sebor <msebor@redhat.com>
Date:   Wed Nov 25 14:05:01 2020 -0700

    Clean up -Wformat-diag warnings (PR bootstrap/97622, PR bootstrap/94982)

    gcc/c-family/ChangeLog:

            PR bootstrap/94982
            * c-attribs.c (handle_patchable_function_entry_attribute): Avoid
            -Wformat-diag.

    gcc/cp/ChangeLog:

            PR bootstrap/94982
            * constraint.cc (debug_argument_list): Avoid -Wformat-diag.
            * error.c (function_category): Same.
            (print_template_differences): Same.
            * logic.cc (debug): Same.
            * name-lookup.c (lookup_using_decl): Same.
            * parser.c (maybe_add_cast_fixit): Same.
            (cp_parser_template_introduction): Same.
            * typeck.c (access_failure_info::add_fixit_hint): Same.

    gcc/ChangeLog:

            PR bootstrap/97622
            PR bootstrap/94982
            * config/i386/i386-options.c (ix86_valid_target_attribute_inner_p):
            Avoid -Wformat-diag.
            * digraph.cc (struct test_edge): Same.
            * dumpfile.c (dump_loc): Same.
            (dump_context::begin_scope): Same.
            * edit-context.c (edited_file::print_diff): Same.
            (edited_file::print_diff_hunk): Same.
            * json.cc (object::print): Same.
            * lto-wrapper.c (merge_and_complain): Same.
            * reload.c (find_reloads): Same.
            * tree-diagnostic-path.cc (print_path_summary_as_text): Same.
            * ubsan.c (ubsan_type_descriptor): Same.

    gcc/jit/ChangeLog:

            PR bootstrap/94982
            * jit-recording.c (recording::function::dump_to_dot): Avoid
            -Wformat-diag.
            (recording::block::dump_to_dot): Same.

    gcc/testsuite/ChangeLog:

            PR bootstrap/94982
            * c-c++-common/patchable_function_entry-error-3.c: Adjust text
            of expected warning.


More information about the Gcc-bugs mailing list