aboutsummaryrefslogtreecommitdiff
path: root/gcc/pretty-print.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-07 15:29:12 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-07 15:29:12 +0000
commit72f90fdede20e1f9fcbc34e8001f7b28180699bf (patch)
tree7c5368db173ec15830b59c994b225fd6df014691 /gcc/pretty-print.c
parentdcb91ebed3a93439ef4892c18420c8fd4295a1a3 (diff)
downloadgcc-72f90fdede20e1f9fcbc34e8001f7b28180699bf.zip
gcc-72f90fdede20e1f9fcbc34e8001f7b28180699bf.tar.gz
gcc-72f90fdede20e1f9fcbc34e8001f7b28180699bf.tar.bz2
pretty-print.c (pp_base_format): Remove %J.
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. From-SVN: r149334
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 9ec8030a..94952c3 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;