dumpfile.h (enum tree_dump_index): Rename TDI_generic to TDI_gimple.
authorJakub Jelinek <jakub@redhat.com>
Wed, 7 Jun 2017 08:57:11 +0000 (10:57 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 7 Jun 2017 08:57:11 +0000 (10:57 +0200)
commit363dc72c15e5191a3f04bde3098793326f681b07
tree112f3d360faa21defe2642147dcd3f2b5b6e39f0
parent49e478afe327f4950287bf77e8d8ba19e96a60f2
dumpfile.h (enum tree_dump_index): Rename TDI_generic to TDI_gimple.

* dumpfile.h (enum tree_dump_index): Rename TDI_generic to
TDI_gimple.
(class dump_manager): Add register_dumps method.
* dumpfile.c: Include langhooks.h.
(dump_files): Use 0 instead of 3/4/5 for TDI_{original,gimple,nested}.
(FIRST_AUTO_NUMBERED_DUMP): Decrease to 1.
(FIRST_ME_AUTO_NUMBERED_DUMP): Define.
(dump_manager::dump_register): Start with 512 entries instead of 32.
(dump_manager::register_dumps): New method.
* toplev.c (general_init): Instead of invoking register_dumps
langhook, invoke register_dumps method on the dump manager.
* gimplify.c (gimplify_function_tree): Use TDI_gimple instead of
TDI_generic.

* gimple-parser.c (c_parser_parse_gimple_body): Use TDI_gimple instead
of TDI_generic.

From-SVN: r248947
gcc/ChangeLog
gcc/c/ChangeLog
gcc/c/gimple-parser.c
gcc/dumpfile.c
gcc/dumpfile.h
gcc/gimplify.c
gcc/toplev.c