aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-05-22 12:25:06 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-05-22 12:25:06 +0000
commit58aca9d95cbd0535a99a9642e2e997ea0fd30788 (patch)
treead8286ae024d6c89243ce9157d5befffd07d61d4 /gcc/c
parent6aea3c3720b89f43b3fd6553a8a70fa5fc26dd4b (diff)
downloadgcc-58aca9d95cbd0535a99a9642e2e997ea0fd30788.zip
gcc-58aca9d95cbd0535a99a9642e2e997ea0fd30788.tar.gz
gcc-58aca9d95cbd0535a99a9642e2e997ea0fd30788.tar.bz2
invoke.texi (fdump-translation-unit): Delete documentation.
gcc/ * doc/invoke.texi (fdump-translation-unit): Delete documentation. (fdump-lang): Document 'raw' option. * dumpfile.h (TDI_tu): Delete. * dumpfile.c (dump_files): Remove translation-unit. (FIRST_AUTO_NUMBERED_DUMP): Decrement. gcc/cp/ * cp-objcp-common.c (cp_register_dumps): Register raw dumper. * cp-tree.h (raw_dump_id): Declare. * decl2.c (raw_dump_id): Define. (dump_tu): Use raw_dump_id. gcc/c/ * c-decl.c (c_parse_final_cleanups): Drop TDI_tu handling. From-SVN: r248333
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/ChangeLog4
-rw-r--r--gcc/c/c-decl.c12
2 files changed, 4 insertions, 12 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index a70eaf9..0318bcf 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,7 @@
+2017-05-22 Nathan Sidwell <nathan@acm.org>
+
+ * c-decl.c (c_parse_final_cleanups): Drop TDI_tu handling.
+
2017-05-19 Thomas Schwinge <thomas@codesourcery.com>
* c-parser.c (c_parser_omp_clause_default): Handle
diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c
index 237e910..f2b8096 100644
--- a/gcc/c/c-decl.c
+++ b/gcc/c/c-decl.c
@@ -11214,18 +11214,6 @@ c_parse_final_cleanups (void)
dump_ada_specs (collect_all_refs, NULL);
}
- if (ext_block)
- {
- tree tmp = BLOCK_VARS (ext_block);
- dump_flags_t flags;
- FILE * stream = dump_begin (TDI_tu, &flags);
- if (stream && tmp)
- {
- dump_node (tmp, flags & ~TDF_SLIM, stream);
- dump_end (TDI_tu, stream);
- }
- }
-
/* Process all file scopes in this compilation, and the external_scope,
through wrapup_global_declarations. */
FOR_EACH_VEC_ELT (*all_translation_units, i, t)