[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 #9 from Martin Sebor --- Author: msebor Date: Tue May 9 15:55:05 2017 New Revision: 247804 URL: https://gcc.gnu.org/viewcvs?rev=247804=gcc=rev Log: gcc/ChangeLog: PR translation/80280 * config/sol2-c.c (cmn_err_flag_specs): Initialize new data member added in r247778. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sol2-c.c
[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 #8 from Martin Sebor --- Author: msebor Date: Tue May 9 15:39:54 2017 New Revision: 247801 URL: https://gcc.gnu.org/viewcvs?rev=247801=gcc=rev Log: gcc/ChangeLog: PR translation/80280 * config/i386/msformat-c.c (ms_printf_flag_specs): Initialize new data member added in r247778. (ms_scanf_flag_specs, ms_strftime_flag_specs): Same. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/msformat-c.c
[Bug translation/80280] Missing closing quote (%>) c/semantics.c and c/c-typeck.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80280 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #7 from Martin Sebor --- Fixed and enhanced -Wformat implementation committed 247778.
[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 --- Author: msebor Date: Tue May 9 02:47:14 2017 New Revision: 247778 URL: https://gcc.gnu.org/viewcvs?rev=247778=gcc=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
[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 #5 from Martin Sebor --- Author: msebor Date: Mon May 8 20:50:24 2017 New Revision: 247758 URL: https://gcc.gnu.org/viewcvs?rev=247758=gcc=rev Log: gcc/ChangeLog: PR translation/80280 * config/sol2-c.c (solaris_pragma_align): Correct quoting. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sol2-c.c
[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 #4 from Volker Reichelt --- Author: reichelt Date: Sun May 7 19:41:09 2017 New Revision: 247728 URL: https://gcc.gnu.org/viewcvs?rev=247728=gcc=rev Log: PR translation/80280 * call.c (print_z_candidate): Fix quoting. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c
[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 #3 from Martin Sebor --- Author: msebor Date: Thu May 4 17:40:05 2017 New Revision: 247607 URL: https://gcc.gnu.org/viewcvs?rev=247607=gcc=rev Log: PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c gcc/c-family/ChangeLog: PR translation/80280 * c-attribs.c (handle_alias_ifunc_attribute): Quote a %D directive. (handle_weakref_attribute): Same. PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c gcc/ChangeLog: PR translation/80280 * config/i386/i386.c (ix86_function_versions): Quote a %D directive. PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c gcc/cp/ChangeLog: PR translation/80280 * call.c (print_z_candidate): Add missing quoting to %D and other like directives. (build_op_call_1): Same. * constraint.cc (diagnose_check_constraint): Same. * mangle.c (mangle_decl): Same. * name-lookup.c (cp_binding_level_debug): Same. (set_decl_namespace): Same. * parser.c (cp_parser_tx_qualifier_opt): Same. * pt.c (print_candidates_1): Same. (check_template_variable): Same. (tsubst_default_argument): Same. (most_specialized_partial_spec): Same. * semantics.c (omp_reduction_lookup): Same. * tree.c (check_abi_tag_redeclaration): Same. * typeck.c (comptypes): Same. * typeck2.c (abstract_virtuals_error_sfinae): Same. PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c gcc/ChangeLog: PR translation/80280 * builtins.c (expand_builtin_object_size): Add missing quoting to %D and like directives. * hsa-gen.c (hsa_type_for_scalar_tree_type): Same. (hsa_type_for_tree_type): Same. (verify_function_arguments): Same. * symtab.c (symbol_table::change_decl_assembler_name): Same. * varasm.c (get_section): Same. (mark_weak): Same. PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c gcc/objc/ChangeLog: PR translation/80280 * objc-gnu-runtime-abi-01.c (objc_eh_runtime_type): Add missing quoting to directives. * objc-next-runtime-abi-01.c (objc_eh_runtime_type): Ditto. * objc-next-runtime-abi-02.c (next_runtime_02_eh_type): Ditto. PR translation/80280 - Missing closing quote (%>) c/semantics.c and c/c-typeck.c gcc/testsuite/ChangeLog: PR translation/80280 * g++.dg/abi/Wabi-2-3.C: Adjust. * g++.dg/abi/Wabi-3-2.C: Ditto. * g++.dg/lookup/using17.C: Ditto. * gcc.dg/format/gcc_diag-1.c (foo): Ditto. Modified: trunk/gcc/ChangeLog trunk/gcc/builtins.c trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-attribs.c trunk/gcc/config/i386/i386.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c trunk/gcc/cp/constraint.cc trunk/gcc/cp/mangle.c trunk/gcc/cp/name-lookup.c trunk/gcc/cp/parser.c trunk/gcc/cp/pt.c trunk/gcc/cp/semantics.c trunk/gcc/cp/tree.c trunk/gcc/cp/typeck.c trunk/gcc/cp/typeck2.c trunk/gcc/hsa-gen.c trunk/gcc/objc/ChangeLog trunk/gcc/objc/objc-gnu-runtime-abi-01.c trunk/gcc/objc/objc-next-runtime-abi-01.c trunk/gcc/objc/objc-next-runtime-abi-02.c trunk/gcc/symtab.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/abi/Wabi-2-3.C trunk/gcc/testsuite/g++.dg/abi/Wabi-3-2.C trunk/gcc/testsuite/g++.dg/lookup/using17.C trunk/gcc/testsuite/gcc.dg/format/gcc_diag-1.c trunk/gcc/varasm.c
[Bug translation/80280] Missing closing quote (%>) c/semantics.c and c/c-typeck.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80280 Martin Sebor changed: What|Removed |Added Keywords||diagnostic, patch Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2017-05-03 CC||msebor at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin Sebor --- I confirm that these problem have indeed been fixed. To prevent them from cropping up again, I've put together an enhancement to -Wformat to detect them before they get injected into the code base. I'll use this bug as a reference for the patch set: https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00150.html https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00151.html https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00152.html https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00153.html https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00154.html https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00155.html https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00156.html
[Bug translation/80280] Missing closing quote (%>) c/semantics.c and c/c-typeck.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80280 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment #1 from David Malcolm --- Looks like these were all fixed on trunk in r237843.