passes.c: implement pre-ICE emergency dumping
authorAlexander Monakov <amonakov@ispras.ru>
Wed, 31 May 2017 13:26:54 +0000 (16:26 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Wed, 31 May 2017 13:26:54 +0000 (16:26 +0300)
commita02d1ad2b2973bcc047715b39df2ff1c69385541
treefdbe3a3801dc53192204548b33b1e35001a07498
parent1e466f0496649db71f5e62881feea8ee59e09874
passes.c: implement pre-ICE emergency dumping

* passes.c (emergency_dump_function): New.
* tree-pass.h (emergency_dump_function): Declare.
* plugin.c (plugins_internal_error_function): Remove.
* plugin.h (plugins_internal_error_function): Remove declaration.
* toplev.c (internal_error_function): New static function.  Use it...
(general_init): ...here.

From-SVN: r248736
gcc/ChangeLog
gcc/passes.c
gcc/plugin.c
gcc/plugin.h
gcc/toplev.c
gcc/tree-pass.h