aboutsummaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2017-05-31 16:26:54 +0300
committerAlexander Monakov <amonakov@gcc.gnu.org>2017-05-31 16:26:54 +0300
commita02d1ad2b2973bcc047715b39df2ff1c69385541 (patch)
treefdbe3a3801dc53192204548b33b1e35001a07498 /gcc/plugin.c
parent1e466f0496649db71f5e62881feea8ee59e09874 (diff)
downloadgcc-a02d1ad2b2973bcc047715b39df2ff1c69385541.zip
gcc-a02d1ad2b2973bcc047715b39df2ff1c69385541.tar.gz
gcc-a02d1ad2b2973bcc047715b39df2ff1c69385541.tar.bz2
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
Diffstat (limited to 'gcc/plugin.c')
-rw-r--r--gcc/plugin.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/plugin.c b/gcc/plugin.c
index c6d3cdd..9892748 100644
--- a/gcc/plugin.c
+++ b/gcc/plugin.c
@@ -858,16 +858,6 @@ warn_if_plugins (void)
}
-/* Likewise, as a callback from the diagnostics code. */
-
-void
-plugins_internal_error_function (diagnostic_context *context ATTRIBUTE_UNUSED,
- const char *msgid ATTRIBUTE_UNUSED,
- va_list *ap ATTRIBUTE_UNUSED)
-{
- warn_if_plugins ();
-}
-
/* The default version check. Compares every field in VERSION. */
bool