summaryrefslogtreecommitdiff
path: root/gcc/pretty-print.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-07 15:23:46 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-07 15:23:46 +0000
commitdcb91ebed3a93439ef4892c18420c8fd4295a1a3 (patch)
tree48fc147b480fccd2c625934e1915472ecd6a3e42 /gcc/pretty-print.c
parentcf400ddbafde8ae44c3b09c71e8305cd73c21688 (diff)
downloadgcc-dcb91ebed3a93439ef4892c18420c8fd4295a1a3.tar.gz
pretty-print.c (pp_base_format): Remove %H.
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> * pretty-print.c (pp_base_format): Remove %H. * c-format.c (gcc_diag_char_table, gcc_tdiag_char_table, gcc_cxxdiag_char_table): Likewise. (init_dynamic_diag_info): Likewise. * config/mep/mep.c (mep_select_section): Likewise. testsuite/ * gcc.dg/format/gcc_diag-1.c: Remove tests for %H. From-SVN: r149333
Diffstat (limited to 'gcc/pretty-print.c')
-rw-r--r--gcc/pretty-print.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c
index 55bc3feeeac..9ec8030ab7f 100644
--- a/gcc/pretty-print.c
+++ b/gcc/pretty-print.c
@@ -190,7 +190,6 @@ pp_base_indent (pretty_printer *pp)
%.*s: a substring the length of which is specified by an argument
integer.
%Ns: likewise, but length specified as constant in the format string.
- %H: location_t.
%J: a decl tree, from which DECL_SOURCE_LOCATION will be recorded.
%K: a statement, from which EXPR_LOCATION and TREE_BLOCK will be recorded.
Flag 'q': quote formatted text (must come immediately after '%').
@@ -476,14 +475,6 @@ pp_base_format (pretty_printer *pp, text_info *text)
(pp, *text->args_ptr, precision, unsigned, "x");
break;
- case 'H':
- {
- location_t *locus = va_arg (*text->args_ptr, location_t *);
- gcc_assert (text->locus != NULL);
- *text->locus = *locus;
- }
- break;
-
case 'J':
{
tree t = va_arg (*text->args_ptr, tree);