diff options
author | Martin Sebor <msebor@redhat.com> | 2021-07-06 14:13:31 -0600 |
---|---|---|
committer | Martin Sebor <msebor@redhat.com> | 2021-07-06 14:14:25 -0600 |
commit | 4f6e181181a48c341e524653cae0885fd170131e (patch) | |
tree | 7add41289221a44a977803ded481637e102b9c52 /gcc/tree-diagnostic.c | |
parent | 62e43587ef1c874b62a6c4c5c3980969e4a2da97 (diff) | |
download | gcc-4f6e181181a48c341e524653cae0885fd170131e.zip gcc-4f6e181181a48c341e524653cae0885fd170131e.tar.gz gcc-4f6e181181a48c341e524653cae0885fd170131e.tar.bz2 |
Remove support for %G and %K.
gcc/c-family/ChangeLog:
* c-format.c (gcc_tdiag_char_table): Remove support for %G and %K.
(gcc_cdiag_char_table): Same.
(gcc_cxxdiag_char_table): Same.
gcc/c/ChangeLog:
* c-objc-common.c (c_tree_printer): Remove support for %G and %K.
gcc/cp/ChangeLog:
* error.c (cp_printer): Remove support for %G and %K.
gcc/ChangeLog:
* gimple-pretty-print.c (percent_G_format): Remove.
* tree-diagnostic.c (default_tree_printer): Remove calls.
* tree-pretty-print.c (percent_K_format): Remove.
* tree-pretty-print.h (percent_K_format): Remove.
gcc/testsuite/ChangeLog:
* gcc.dg/format/gcc_diag-10.c: Update expected warnings.
* gcc.dg/plugin/diagnostic_plugin_test_inlining.c: Remove %G.
Diffstat (limited to 'gcc/tree-diagnostic.c')
-rw-r--r-- | gcc/tree-diagnostic.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/tree-diagnostic.c b/gcc/tree-diagnostic.c index 1b636d7..8bb214b 100644 --- a/gcc/tree-diagnostic.c +++ b/gcc/tree-diagnostic.c @@ -276,15 +276,6 @@ default_tree_printer (pretty_printer *pp, text_info *text, const char *spec, t = va_arg (*text->args_ptr, tree); break; - case 'G': - percent_G_format (text); - return true; - - case 'K': - t = va_arg (*text->args_ptr, tree); - percent_K_format (text, EXPR_LOCATION (t), TREE_BLOCK (t)); - return true; - default: return false; } |