summaryrefslogtreecommitdiff
path: root/gcc/pretty-print.c
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-07 15:29:12 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-07 15:29:12 +0000
commit11cd5422f846eb672dcc6e83df63dbfcff8be626 (patch)
tree7c5368db173ec15830b59c994b225fd6df014691 /gcc/pretty-print.c
parenta426d5d916097853c47c5661625740aab05fbd2f (diff)
downloadgcc-11cd5422f846eb672dcc6e83df63dbfcff8be626.tar.gz
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
* pretty-print.c (pp_base_format): Remove %J. * c-format.c (gcc_diag_char_table, gcc_tdiag_char_table, gcc_cxxdiag_char_table): Likewise. (init_dynamic_diag_info): Likewise. testsuite/ * gcc.dg/format/gcc_diag-1.c: Remove tests for %J. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149334 138bc75d-0d04-0410-961f-82ee72b054a4
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 9ec8030ab7f..94952c3e152 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.
- %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 '%').
@@ -475,14 +474,6 @@ pp_base_format (pretty_printer *pp, text_info *text)
(pp, *text->args_ptr, precision, unsigned, "x");
break;
- case 'J':
- {
- tree t = va_arg (*text->args_ptr, tree);
- gcc_assert (text->locus != NULL);
- *text->locus = DECL_SOURCE_LOCATION (t);
- }
- break;
-
case 'K':
{
tree t = va_arg (*text->args_ptr, tree), block;