From 93964ebd2fec8d9e2132e118b02f93bea074ebd2 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 11 Mar 2019 14:59:04 +0100 Subject: Wrap apostrophes in gcc internal format with %'. 2019-03-11 Martin Liska * check-internal-format-escaping.py: Uncomment apostrophes check. 2019-03-11 Martin Liska * collect-utils.c (collect_wait): Wrap apostrophes in gcc internal format with %'. * collect2.c (main): Likewise. (scan_prog_file): Likewise. (scan_libraries): Likewise. * config/i386/i386.c (ix86_expand_call): Likewise. (ix86_handle_interrupt_attribute): Likewise. * config/nds32/nds32-intrinsic.c (nds32_expand_builtin_impl): Likewise. * config/nds32/nds32.c (nds32_insert_attributes): Likewise. * config/rl78/rl78.c (rl78_handle_saddr_attribute): Likewise. * lto-wrapper.c (find_crtoffloadtable): Likewise. * symtab.c (symtab_node::verify_base): Likewise. * tree-cfg.c (verify_gimple_label): Likewise. * tree.c (verify_type_variant): Likewise. 2019-03-11 Martin Liska * c-opts.c (c_common_post_options): Wrap apostrophes in gcc internal format with %'. 2019-03-11 Martin Liska * cvt.c (build_expr_type_conversion): Wrap apostrophes in gcc internal format with %'. * decl.c (check_no_redeclaration_friend_default_args): Likewise. (grokfndecl): Likewise. * name-lookup.c (do_pushtag): Likewise. * pt.c (unify_parameter_deduction_failure): Likewise. (unify_template_deduction_failure): Likewise. From-SVN: r269587 --- gcc/tree.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gcc/tree.c') diff --git a/gcc/tree.c b/gcc/tree.c index 6528057..02721cf 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -13815,9 +13815,9 @@ verify_type_variant (const_tree t, tree tv) TYPE_SIZE_UNIT (tv), 0)); error ("type variant has different TYPE_SIZE_UNIT"); debug_tree (tv); - error ("type variant's TYPE_SIZE_UNIT"); + error ("type variant%'s TYPE_SIZE_UNIT"); debug_tree (TYPE_SIZE_UNIT (tv)); - error ("type's TYPE_SIZE_UNIT"); + error ("type%'s TYPE_SIZE_UNIT"); debug_tree (TYPE_SIZE_UNIT (t)); return false; } @@ -13888,9 +13888,9 @@ verify_type_variant (const_tree t, tree tv) { error ("type variant has different TYPE_BINFO"); debug_tree (tv); - error ("type variant's TYPE_BINFO"); + error ("type variant%'s TYPE_BINFO"); debug_tree (TYPE_BINFO (tv)); - error ("type's TYPE_BINFO"); + error ("type%'s TYPE_BINFO"); debug_tree (TYPE_BINFO (t)); return false; } @@ -13952,9 +13952,9 @@ verify_type_variant (const_tree t, tree tv) { error ("type variant has different TREE_TYPE"); debug_tree (tv); - error ("type variant's TREE_TYPE"); + error ("type variant%'s TREE_TYPE"); debug_tree (TREE_TYPE (tv)); - error ("type's TREE_TYPE"); + error ("type%'s TREE_TYPE"); debug_tree (TREE_TYPE (t)); return false; } @@ -13963,9 +13963,9 @@ verify_type_variant (const_tree t, tree tv) { error ("type is not compatible with its variant"); debug_tree (tv); - error ("type variant's TREE_TYPE"); + error ("type variant%'s TREE_TYPE"); debug_tree (TREE_TYPE (tv)); - error ("type's TREE_TYPE"); + error ("type%'s TREE_TYPE"); debug_tree (TREE_TYPE (t)); return false; } -- cgit v1.1