aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-03-11 14:59:04 +0100
committerMartin Liska <marxin@gcc.gnu.org>2019-03-11 13:59:04 +0000
commit93964ebd2fec8d9e2132e118b02f93bea074ebd2 (patch)
tree8fda972202e700a77c6634e36bb92060c51041a4 /gcc/tree.c
parenta3f9f006a8e24bfc2a045b918a4f3665407f0018 (diff)
downloadgcc-93964ebd2fec8d9e2132e118b02f93bea074ebd2.zip
gcc-93964ebd2fec8d9e2132e118b02f93bea074ebd2.tar.gz
gcc-93964ebd2fec8d9e2132e118b02f93bea074ebd2.tar.bz2
Wrap apostrophes in gcc internal format with %'.
2019-03-11 Martin Liska <mliska@suse.cz> * check-internal-format-escaping.py: Uncomment apostrophes check. 2019-03-11 Martin Liska <mliska@suse.cz> * 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 <mliska@suse.cz> * c-opts.c (c_common_post_options): Wrap apostrophes in gcc internal format with %'. 2019-03-11 Martin Liska <mliska@suse.cz> * 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
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c16
1 files changed, 8 insertions, 8 deletions
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;
}